You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/09/14 16:42:21 UTC
[GitHub] [shardingsphere] Icesource opened a new pull request #12435: Dev
Icesource opened a new pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435
For #6478.
Changes proposed in this pull request:
- add SQLServer grammar create trigger and sequence
- complete the grammatical definition of alter index and create index
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] terrymanu commented on pull request #12435: Dev
Posted by GitBox <gi...@apache.org>.
terrymanu commented on pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435#issuecomment-919676763
@Icesource
Hi, could you rename the title to more make sense?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] codecov-commenter commented on pull request #12435: Dev
Posted by GitBox <gi...@apache.org>.
codecov-commenter commented on pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435#issuecomment-919650910
# [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=h1&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) Report
> Merging [#12435](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (28454f8) into [master](https://codecov.io/gh/apache/shardingsphere/commit/46aeeff1b2e837fe514df3097e4945057b911e7a?el=desc&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) (46aeeff) will **decrease** coverage by `0.06%`.
> The diff coverage is `25.00%`.
[![Impacted file tree graph](https://codecov.io/gh/apache/shardingsphere/pull/12435/graphs/tree.svg?width=650&height=150&src=pr&token=ZvlXpWa7so&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
```diff
@@ Coverage Diff @@
## master #12435 +/- ##
============================================
- Coverage 63.44% 63.38% -0.07%
Complexity 1295 1295
============================================
Files 2391 2395 +4
Lines 36345 36353 +8
Branches 6308 6308
============================================
- Hits 23059 23042 -17
- Misses 11430 11458 +28
+ Partials 1856 1853 -3
```
| [Impacted Files](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | Coverage Δ | |
|---|---|---|
| [...sqlserver/ddl/SQLServerAlterSequenceStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvc3FsL3BhcnNlci9zcWwvZGlhbGVjdC9zdGF0ZW1lbnQvc3Fsc2VydmVyL2RkbC9TUUxTZXJ2ZXJBbHRlclNlcXVlbmNlU3RhdGVtZW50LmphdmE=) | `0.00% <0.00%> (ø)` | |
| [.../sqlserver/ddl/SQLServerAlterTriggerStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvc3FsL3BhcnNlci9zcWwvZGlhbGVjdC9zdGF0ZW1lbnQvc3Fsc2VydmVyL2RkbC9TUUxTZXJ2ZXJBbHRlclRyaWdnZXJTdGF0ZW1lbnQuamF2YQ==) | `0.00% <0.00%> (ø)` | |
| [...qlserver/ddl/SQLServerCreateSequenceStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvc3FsL3BhcnNlci9zcWwvZGlhbGVjdC9zdGF0ZW1lbnQvc3Fsc2VydmVyL2RkbC9TUUxTZXJ2ZXJDcmVhdGVTZXF1ZW5jZVN0YXRlbWVudC5qYXZh) | `0.00% <0.00%> (ø)` | |
| [...sqlserver/ddl/SQLServerCreateTriggerStatement.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLXN0YXRlbWVudC9zcmMvbWFpbi9qYXZhL29yZy9hcGFjaGUvc2hhcmRpbmdzcGhlcmUvc3FsL3BhcnNlci9zcWwvZGlhbGVjdC9zdGF0ZW1lbnQvc3Fsc2VydmVyL2RkbC9TUUxTZXJ2ZXJDcmVhdGVUcmlnZ2VyU3RhdGVtZW50LmphdmE=) | `0.00% <0.00%> (ø)` | |
| [...tatement/impl/SQLServerDDLStatementSQLVisitor.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci9zaGFyZGluZ3NwaGVyZS1zcWwtcGFyc2VyLWRpYWxlY3Qvc2hhcmRpbmdzcGhlcmUtc3FsLXBhcnNlci1zcWxzZXJ2ZXIvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NxbC9wYXJzZXIvc3Fsc2VydmVyL3Zpc2l0b3Ivc3RhdGVtZW50L2ltcGwvU1FMU2VydmVyRERMU3RhdGVtZW50U1FMVmlzaXRvci5qYXZh) | `82.66% <50.00%> (-0.90%)` | :arrow_down: |
| [...sphere/scaling/core/job/schedule/JobScheduler.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9qb2Ivc2NoZWR1bGUvSm9iU2NoZWR1bGVyLmphdmE=) | `20.00% <0.00%> (-26.67%)` | :arrow_down: |
| [...re/scaling/core/executor/engine/ExecuteEngine.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9leGVjdXRvci9lbmdpbmUvRXhlY3V0ZUVuZ2luZS5qYXZh) | `88.88% <0.00%> (-11.12%)` | :arrow_down: |
| [...scaling/core/job/task/inventory/InventoryTask.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9qb2IvdGFzay9pbnZlbnRvcnkvSW52ZW50b3J5VGFzay5qYXZh) | `68.88% <0.00%> (-6.67%)` | :arrow_down: |
| [...ing/core/job/task/incremental/IncrementalTask.java](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation#diff-c2hhcmRpbmdzcGhlcmUtc2NhbGluZy9zaGFyZGluZ3NwaGVyZS1zY2FsaW5nLWNvcmUvc3JjL21haW4vamF2YS9vcmcvYXBhY2hlL3NoYXJkaW5nc3BoZXJlL3NjYWxpbmcvY29yZS9qb2IvdGFzay9pbmNyZW1lbnRhbC9JbmNyZW1lbnRhbFRhc2suamF2YQ==) | `75.00% <0.00%> (-1.93%)` | :arrow_down: |
| ... and [4 more](https://codecov.io/gh/apache/shardingsphere/pull/12435/diff?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation) | |
------
[Continue to review full report at Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
> **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation)
> `Δ = absolute <relative> (impact)`, `ø = not affected`, `? = missing data`
> Powered by [Codecov](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Last update [46aeeff...28454f8](https://codecov.io/gh/apache/shardingsphere/pull/12435?src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=The+Apache+Software+Foundation).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] jingshanglu commented on a change in pull request #12435: Proofread the SQLServer syntax of trigger, sequence and index
Posted by GitBox <gi...@apache.org>.
jingshanglu commented on a change in pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435#discussion_r709087072
##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/DDLStatement.g4
##########
@@ -678,3 +694,97 @@ withCommonTableExpr
commonTableExpr
: name (LP_ columnName (COMMA_ columnName)* RP_)? AS LP_ select RP_
;
+
+createTriggerClause
+ : (WITH dmlTriggerOption COMMA_ dmlTriggerOption)? (FOR | AFTER | INSTEAD OF)
+ INSERT? COMMA_? UPDATE? COMMA_? DELETE? COMMA_? (WITH APPEND)? (NOT FOR REPLICATION)?
+ AS (compoundStatement | EXTERNAL NAME methodSpecifier)
+ ;
+
+dmlTriggerOption
+ : ENCRYPTION | executeAsClause | NATIVE_COMPILATION | SCHEMABINDING |
+ ;
+
+methodSpecifier
+ : name DOT_ name DOT_ name
+ ;
+
+triggerTarget
+ : tableName | viewName | ALL SERVER | DATABASE
+ ;
+
+createOrAlterSequenceClause
+ : AS dataType
+ | (START | RESTART) WITH expr
+ | INCREMENT BY expr
+ | MINVALUE expr? | NO MINVALUE
+ | MAXVALUE expr? | NO MAXVALUE
+ | CACHE expr | NO CACHE
+ | NO? CYCLE
+ ;
+
+createIndexClause
+ : (INCLUDE columnNamesWithSort)? (WHERE filterPredicate)? (WITH relationalIndexOption (COMMA_ relationalIndexOption)*)?
+ (ON (schemaName LP_ columnName RP_ | name))? (FILESTREAM_ON (name | stringLiterals))?
+ ;
+
+filterPredicate
+ : conjunct (AND conjunct)*
+ ;
+
+conjunct
+ : columnName IN LP_ expr (COMMA_ expr)* RP_
+ | columnName comparisonOperator expr
+ ;
+
+alterIndexClause
+ : REBUILD (PARTITION EQ_ (ALL | expr))? (WITH LP_ relationalIndexOption (COMMA_ relationalIndexOption)* RP_)?
+ | DISABLE
+ | REORGANIZE (PARTITION EQ_ expr)? (WITH LP_ reorganizeOption RP_)?
+ | SET LP_ setIndexOption (COMMA_ setIndexOption) RP_
+ | RESUME (WITH LP_ resumableIndexOptions (COMMA_ resumableIndexOptions)* RP_)?
+ | PAUSE
+ | ABORT
+ ;
+
+relationalIndexOption
+ : PAD_INDEX EQ_ (ON | OFF)
+ | FILLFACTOR EQ_ expr
+ | SORT_IN_TEMPDB EQ_ (ON | OFF)
+ | IGNORE_DUP_KEY EQ_ (ON | OFF)
+ | STATISTICS_NORECOMPUTE EQ_ (ON | OFF)
+ | STATISTICS_INCREMENTAL EQ_ (ON | OFF)
+ | DROP_EXISTING EQ_ (ON | OFF)
+ | ONLINE EQ_ (ON lowPriorityLockWait? | OFF)
+ | RESUMABLE EQ_ (ON | OFF)
+ | MAX_DURATION EQ_ expr MINUTES?
+ | ALLOW_ROW_LOCKS EQ_ (ON | OFF)
+ | ALLOW_PAGE_LOCKS EQ_ (ON | OFF)
+ | OPTIMIZE_FOR_SEQUENTIAL_KEY EQ_ (ON | OFF)
+ | MAXDOP EQ_ expr
+ | DATA_COMPRESSION EQ_ (NONE | ROW | PAGE | COLUMNSTORE | COLUMNSTORE_ARCHIVE) (ON PARTITIONS LP_ partitionNumberRange (COMMA_ partitionNumberRange)*)?
+ ;
+
+partitionNumberRange
+ : partitionNumber (TO partitionNumber)?
+ ;
Review comment:
@Icesource Can it be changed like this:
```
partitionNumberRange
: expr (TO expr)?
;
```
and delete rule `partitionNumber`
##########
File path: shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ddl/create-sequence.xml
##########
@@ -20,4 +20,12 @@
<sql-case id="create_sequence" value="CREATE SEQUENCE seq_id" db-types="PostgreSQL" />
<sql-case id="create_sequence_with_option" value="CREATE SEQUENCE TEMPORARY seq_option" db-types="PostgreSQL" />
<sql-case id="create_sequence_complex" value="CREATE SEQUENCE seq_complex MINVALUE 0 MAXVALUE 100 START 0" db-types="PostgreSQL" />
+ <sql-case id="create_sequence_with_all_arguments" value="CREATE SEQUENCE Test.DecSeq
+ AS decimal(3,0)
+ START WITH 125
+ INCREMENT BY 25
+ MINVALUE 100
+ MAXVALUE 200
+ CYCLE
+ CACHE 3;" db-types="SQLServer" />
Review comment:
@Icesource Can you add some test about `trigger` and `create index`?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] Icesource commented on a change in pull request #12435: Proofread the SQLServer syntax of trigger, sequence and index
Posted by GitBox <gi...@apache.org>.
Icesource commented on a change in pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435#discussion_r712959855
##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-sqlserver/src/main/antlr4/imports/sqlserver/DDLStatement.g4
##########
@@ -678,3 +694,97 @@ withCommonTableExpr
commonTableExpr
: name (LP_ columnName (COMMA_ columnName)* RP_)? AS LP_ select RP_
;
+
+createTriggerClause
+ : (WITH dmlTriggerOption COMMA_ dmlTriggerOption)? (FOR | AFTER | INSTEAD OF)
+ INSERT? COMMA_? UPDATE? COMMA_? DELETE? COMMA_? (WITH APPEND)? (NOT FOR REPLICATION)?
+ AS (compoundStatement | EXTERNAL NAME methodSpecifier)
+ ;
+
+dmlTriggerOption
+ : ENCRYPTION | executeAsClause | NATIVE_COMPILATION | SCHEMABINDING |
+ ;
+
+methodSpecifier
+ : name DOT_ name DOT_ name
+ ;
+
+triggerTarget
+ : tableName | viewName | ALL SERVER | DATABASE
+ ;
+
+createOrAlterSequenceClause
+ : AS dataType
+ | (START | RESTART) WITH expr
+ | INCREMENT BY expr
+ | MINVALUE expr? | NO MINVALUE
+ | MAXVALUE expr? | NO MAXVALUE
+ | CACHE expr | NO CACHE
+ | NO? CYCLE
+ ;
+
+createIndexClause
+ : (INCLUDE columnNamesWithSort)? (WHERE filterPredicate)? (WITH relationalIndexOption (COMMA_ relationalIndexOption)*)?
+ (ON (schemaName LP_ columnName RP_ | name))? (FILESTREAM_ON (name | stringLiterals))?
+ ;
+
+filterPredicate
+ : conjunct (AND conjunct)*
+ ;
+
+conjunct
+ : columnName IN LP_ expr (COMMA_ expr)* RP_
+ | columnName comparisonOperator expr
+ ;
+
+alterIndexClause
+ : REBUILD (PARTITION EQ_ (ALL | expr))? (WITH LP_ relationalIndexOption (COMMA_ relationalIndexOption)* RP_)?
+ | DISABLE
+ | REORGANIZE (PARTITION EQ_ expr)? (WITH LP_ reorganizeOption RP_)?
+ | SET LP_ setIndexOption (COMMA_ setIndexOption) RP_
+ | RESUME (WITH LP_ resumableIndexOptions (COMMA_ resumableIndexOptions)* RP_)?
+ | PAUSE
+ | ABORT
+ ;
+
+relationalIndexOption
+ : PAD_INDEX EQ_ (ON | OFF)
+ | FILLFACTOR EQ_ expr
+ | SORT_IN_TEMPDB EQ_ (ON | OFF)
+ | IGNORE_DUP_KEY EQ_ (ON | OFF)
+ | STATISTICS_NORECOMPUTE EQ_ (ON | OFF)
+ | STATISTICS_INCREMENTAL EQ_ (ON | OFF)
+ | DROP_EXISTING EQ_ (ON | OFF)
+ | ONLINE EQ_ (ON lowPriorityLockWait? | OFF)
+ | RESUMABLE EQ_ (ON | OFF)
+ | MAX_DURATION EQ_ expr MINUTES?
+ | ALLOW_ROW_LOCKS EQ_ (ON | OFF)
+ | ALLOW_PAGE_LOCKS EQ_ (ON | OFF)
+ | OPTIMIZE_FOR_SEQUENTIAL_KEY EQ_ (ON | OFF)
+ | MAXDOP EQ_ expr
+ | DATA_COMPRESSION EQ_ (NONE | ROW | PAGE | COLUMNSTORE | COLUMNSTORE_ARCHIVE) (ON PARTITIONS LP_ partitionNumberRange (COMMA_ partitionNumberRange)*)?
+ ;
+
+partitionNumberRange
+ : partitionNumber (TO partitionNumber)?
+ ;
Review comment:
@jingshanglu done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] jingshanglu merged pull request #12435: Proofread the SQLServer syntax of trigger, sequence and index
Posted by GitBox <gi...@apache.org>.
jingshanglu merged pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] Icesource commented on pull request #12435: Proofread the SQLServer syntax of trigger, sequence and index
Posted by GitBox <gi...@apache.org>.
Icesource commented on pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435#issuecomment-919698656
> @Icesource
> Hi, could you rename the title to more make sense?
@terrymanu I'm sorry, this is my negligence. I have renamed the PR
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] Icesource commented on a change in pull request #12435: Proofread the SQLServer syntax of trigger, sequence and index
Posted by GitBox <gi...@apache.org>.
Icesource commented on a change in pull request #12435:
URL: https://github.com/apache/shardingsphere/pull/12435#discussion_r712960089
##########
File path: shardingsphere-test/shardingsphere-parser-test/src/main/resources/sql/supported/ddl/create-sequence.xml
##########
@@ -20,4 +20,12 @@
<sql-case id="create_sequence" value="CREATE SEQUENCE seq_id" db-types="PostgreSQL" />
<sql-case id="create_sequence_with_option" value="CREATE SEQUENCE TEMPORARY seq_option" db-types="PostgreSQL" />
<sql-case id="create_sequence_complex" value="CREATE SEQUENCE seq_complex MINVALUE 0 MAXVALUE 100 START 0" db-types="PostgreSQL" />
+ <sql-case id="create_sequence_with_all_arguments" value="CREATE SEQUENCE Test.DecSeq
+ AS decimal(3,0)
+ START WITH 125
+ INCREMENT BY 25
+ MINVALUE 100
+ MAXVALUE 200
+ CYCLE
+ CACHE 3;" db-types="SQLServer" />
Review comment:
@jingshanglu done, I have added the tests in the new commit
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org