Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support select into statement #25

Merged

Conversation

jingchen2222
Copy link
Collaborator

@jingchen2222 jingchen2222 commented Oct 13, 2021

  • Please check if the PR fulfills these requirements
  • The commit message follows our guidelines
  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been added / updated (for bug fixes / features)
  • What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
    feature
  • What is the current behavior? (You can also link to an open issue here)

OpenMLDB Issue:
4paradigm/OpenMLDB#455

SELECT col1, col2, col1+col2 from t1 into outfile 'data.csv' OPTIONS(charset='utf-8');
  • What is the new behavior (if this is a feature change)?
    Supprt SELECT ... INTO... syntax
  1. support ASTSelectIntoStatement
  2. allow guess ASTSelectIntoStatement with ASTQueryStatement
  3. update keywords
  • Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

  • Other information:

1. support ASTSelectIntoStatement
2. allow guess ASTSelectIntoStatement with ASTQueryStatement
3. update keywords
@jingchen2222 jingchen2222 added the enhancement New feature or request label Oct 13, 2021
@jingchen2222 jingchen2222 self-assigned this Oct 13, 2021
@jingchen2222 jingchen2222 merged commit f344591 into feat/hybridse-zetasql Oct 13, 2021
@jingchen2222 jingchen2222 deleted the feat/support_select_into_statement branch October 13, 2021 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants