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

add insert select and replace select statement doc #6521

Merged
merged 3 commits into from
Jul 30, 2020

Conversation

strongduanmu
Copy link
Member

Fixes #6289.

Changes proposed in this pull request:

  • add insert select statement doc
  • add replace select statement doc

@@ -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子句暂不支持*号简写,暂不支持使用内置的分布式主键生成器 |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SELECT子句暂不支持号简写;暂不支持使用内置的分布式主键生成器
或者
SELECT子句暂不支持
号简写及使用内置的分布式主键生成器

Copy link
Contributor

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?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe SELECT子句暂不支持使用*号简写及内置的分布式主键生成器 is better. 😂

@tristaZero tristaZero added this to the 5.0.0-alpha milestone Jul 30, 2020
Copy link
Contributor

@tristaZero tristaZero left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Complete work!

@tristaZero tristaZero merged commit 9e884ee into apache:master Jul 30, 2020
Lucas-307 pushed a commit to Lucas-307/shardingsphere that referenced this pull request Aug 3, 2020
* add insert select statement doc

* add replace select statement doc

* modify doc description
kimmking added a commit that referenced this pull request Aug 3, 2020
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

insert into select is unsupport
2 participants