-
Notifications
You must be signed in to change notification settings - Fork 6.8k
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
add insert select and replace select statement doc #6521
Conversation
@@ -117,7 +119,8 @@ SELECT * FROM t_order WHERE to_date(create_time, 'yyyy-mm-dd') = '2019-01-01'; | |||
| SQL | 不支持原因 | | |||
| ------------------------------------------------------------------------------------------ | -------------------------- | | |||
| INSERT INTO tbl_name (col1, col2, ...) VALUES(1+2, ?, ...) | VALUES语句不支持运算表达式 | | |||
| INSERT INTO tbl_name (col1, col2, ...) SELECT col1, col2, ... FROM tbl_name WHERE col3 = ? | INSERT .. SELECT | | |||
| INSERT INTO tbl_name (col1, col2, ...) SELECT * FROM tbl_name WHERE col3 = ? | SELECT子句暂不支持*号简写,暂不支持使用内置的分布式主键生成器 | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SELECT子句暂不支持号简写;暂不支持使用内置的分布式主键生成器
或者
SELECT子句暂不支持号简写及使用内置的分布式主键生成器
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
How about these statements? That will read clear, don't you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe SELECT子句暂不支持使用*号简写及内置的分布式主键生成器
is better. 😂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Complete work!
* add insert select statement doc * add replace select statement doc * modify doc description
* Visit CreateDataSourcesStatement * add setter * Modify interface for DatabaseTypes * add insert select and replace select statement doc (#6521) * add insert select statement doc * add replace select statement doc * modify doc description * Fix #3954 : Sharding-JDBC querying support PostgreSQL array type (#6524) * Sharding-JDBC support PostgreSQL array type * Sharding-JDBC support PostgreSQL array type * Sharding-JDBC support PostgreSQL array type, try to fix ci error * check style * Refactor sqlStatement context converter * Rename ProxyConfigurationLoader (#6540) * refactor OrchestrationShardingSphereDataSource * refactor OrchestrationShardingSphereDataSource * refactor OrchestrationShardingSphereDataSource * Rename ProxyConfigurationLoader * Refactor ProxyConfigurationLoader * Refactor ProxyConfigurationConverter * Fix javadoc * Fix javadoc * Refactor OrchestrationShardingSphereDataSource * Refactor OrchestrationShardingSphereDataSource * #6294 oracle support select for update (#6538) * #6527, parameters for transparent mode (#6545) * #6527, parameters for transparent mode * #6527, refine * update release guide of elasticjob (#6549) * support select '' as a from order (#6542) * Adjust executor and engine package directory (#6552) * Create ShardingSphereSQLParserEngine and factory (#6553) * Adjust sql engine package dir (#6554) * Add BootstrapArguments (#6555) * Refactor ProxyConfigurationConverterFactory * Refactor ProxyConfigurationLoader * Adjust private method order of Bootstrap * Add BootstrapArguments * use ShardingSphereSQLParserEngine instead of SQLParserEngine (#6557) * Refactor Bootstrap's log (#6559) * Refactor Bootstrap * Refactor Bootstrap's log * fix docs (#6560) * Remove ProxyConfigurationConverter (#6564) * rename Bootstrap.init * Refactor Bootstrap.log * Remove useless javadoc * Add final * Revise ProxyConfiguration * Revise DataSourceParameter * Revise DataSourceParameter * Refactor OrchestrationConfigurationConverter * Add OrchestrationBootstrap * Add YamlProxyConfigurationSwapper * Remove ProxyConfigurationConverter * Refactor Bootstrap * Refactor Bootstrap * Refactor Bootstrap * Remove Serializable for ProxyConfiguration * refactor OrchestrationBootstrap * For checkstyle * Add orchestrationEnabled for Bootstrap (#6565) * Refactor Bootstrap * Add orchestrationEnabled for Bootstrap * update release guide about docker (#6566) * docker release guide for elasticjob (#6567) * docker release for elasticjob * docker release guide for elasticjob ui * Create maven.yml (#6563) * Remove ShardingSphereSchema.dataSourceParameters (#6569) * Decouple ShardingSphereSchema.dataSourceParameters * Remove ShardingSphereSchema.dataSourceParameters * Add ProxyDataSourceContext * Refactor SchemaContextsBuilder * Visit CreateDataSourcesStatement * Adjust executor and engine package directory (#6552) * Adjust sql engine package dir (#6554) * Adjust executor and engine package directory (#6552) * Adjust sql engine package dir (#6554) * Adjust executor and engine package directory (#6552) * Adjust sql engine package dir (#6554) * Rename "unfinish" to "unfinished"(#6571) * Rename "unfinish" to "unfinished"(#6571) Co-authored-by: tristaZero <[email protected]> Co-authored-by: DuanZhengqiang <[email protected]> Co-authored-by: sandynz <[email protected]> Co-authored-by: Liang Zhang <[email protected]> Co-authored-by: zangyk <[email protected]> Co-authored-by: Zhang Yonglun <[email protected]> Co-authored-by: cmonkey <[email protected]> Co-authored-by: Juan Pan(Trista) <[email protected]> Co-authored-by: kimmking <[email protected]> Co-authored-by: qiulu3 <Lucas209910>
Fixes #6289.
Changes proposed in this pull request: