File tree Expand file tree Collapse file tree 2 files changed +7
-9
lines changed
src/test/java/net/sf/jsqlparser/statement/select Expand file tree Collapse file tree 2 files changed +7
-9
lines changed Original file line number Diff line number Diff line change 182
182
<groupId >org.javacc.plugin</groupId >
183
183
<artifactId >javacc-maven-plugin</artifactId >
184
184
<version >3.0.3</version >
185
-
186
- <!--
187
- <groupId>org.codehaus.mojo</groupId>
188
- <artifactId>javacc-maven-plugin</artifactId>
189
- <version>2.6</version>
190
- -->
191
-
185
+
192
186
<executions >
193
187
<execution >
194
188
<id >javacc</id >
205
199
<goals >
206
200
<goal >jjtree</goal >
207
201
</goals >
208
- </execution >
209
-
202
+ </execution >
210
203
</executions >
211
204
<dependencies >
212
205
<dependency >
Original file line number Diff line number Diff line change @@ -993,6 +993,11 @@ public void testDistinctTop2() {
993
993
//expected to fail
994
994
}
995
995
}
996
+
997
+ @ Test
998
+ public void testDistinctWithFollowingBrackets () throws JSQLParserException {
999
+ assertSqlCanBeParsedAndDeparsed ("SELECT DISTINCT (phone), name FROM admin_user" );
1000
+ }
996
1001
997
1002
@ Test
998
1003
public void testFrom () throws JSQLParserException {
You can’t perform that action at this time.
0 commit comments