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

support select '' as a from order #6542

Merged
merged 1 commit into from
Jul 31, 2020

Conversation

cmonkey
Copy link
Contributor

@cmonkey cmonkey commented Jul 31, 2020

Fixes #6541

Changes proposed in this pull request:

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.

Hi @cmonkey Thanks for your issue and PR. Welcome to be our contributor!
Could you look at my comments to perfect this PR?

@@ -34,5 +34,9 @@
<artifactId>shardingsphere-sql-parser-spi</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
Copy link
Contributor

Choose a reason for hiding this comment

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

Is it necessary?

@tristaZero
Copy link
Contributor

@cmonkey Hi thanks for rapid change.
I tried code Strings.isNullOrEmpty(value) in SQLUtil and found guava dependency is unnecessary, could you give it a check?

image

@cmonkey
Copy link
Contributor Author

cmonkey commented Jul 31, 2020

@cmonkey Hi thanks for rapid change.
I tried code Strings.isNullOrEmpty(value) in SQLUtil and found guava dependency is unnecessary, could you give it a check?

image

ok

@cmonkey cmonkey force-pushed the fix-getParenthesesOffset-method branch from f5d78c0 to f8afa6c Compare July 31, 2020 06:23
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.

@cmonkey Hi much clearer now, I like it!

@tristaZero tristaZero merged commit 957bb29 into apache:master Jul 31, 2020
Lucas-307 pushed a commit to Lucas-307/shardingsphere that referenced this pull request Aug 3, 2020
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>
@cmonkey cmonkey deleted the fix-getParenthesesOffset-method branch August 5, 2020 07:10
cmonkey added a commit to cmonkey/shardingsphere that referenced this pull request Aug 18, 2020
cmonkey added a commit to cmonkey/shardingsphere that referenced this pull request Aug 18, 2020
cmonkey added a commit to cmonkey/shardingsphere that referenced this pull request Aug 18, 2020
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.

support select '' as a from order
2 participants