File tree Expand file tree Collapse file tree 11 files changed +22
-11
lines changed
src/main/java/datart/data/provider/calcite
src/main/java/datart/server/config/interceptor Expand file tree Collapse file tree 11 files changed +22
-11
lines changed Original file line number Diff line number Diff line change 11<configuration scan =" true" scanPeriod =" 60 seconds" debug =" false" >
22
33 <property name =" LOG_HOME" value =" ./logs" />
4- <property name =" SQL_LEVEL" value =" DEBUG " />
4+ <property name =" SQL_LEVEL" value =" INFO " />
55
66 <appender name =" console" class =" ch.qos.logback.core.ConsoleAppender" >
77 <encoder >
3939 <appender-ref ref =" root" />
4040 </root >
4141
42- <logger name =" datart.data.provider.jdbc.adapters" level =" ${SQL_LEVEL}" >
42+ <logger name =" datart.data.provider.jdbc.adapters" level =" ${SQL_LEVEL}" addtivity = " false " >
4343 <appender-ref ref =" sql" />
4444 </logger >
45- <logger name =" datart.data.provider.local.LocalDB" level =" ${SQL_LEVEL}" >
45+ <logger name =" datart.data.provider.local.LocalDB" level =" ${SQL_LEVEL}" addtivity = " false " >
4646 <appender-ref ref =" sql" />
4747 </logger >
4848
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 <relativePath >../../pom.xml</relativePath >
1010 </parent >
1111 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 <relativePath >../../pom.xml</relativePath >
1010 </parent >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 <relativePath >../../pom.xml</relativePath >
1010 </parent >
1111 <modelVersion >4.0.0</modelVersion >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 11package datart .data .provider .calcite ;
22
33import datart .data .provider .calcite .parser .impl .SqlParserImpl ;
4+ import org .apache .calcite .avatica .util .Casing ;
45import org .apache .calcite .avatica .util .Quoting ;
56import org .apache .calcite .sql .SqlDialect ;
67import org .apache .calcite .sql .SqlNode ;
@@ -19,7 +20,10 @@ public static SqlNode parseSnippet(String snippet) throws SqlParseException {
1920 String sql = String .format (SELECT_SQL , snippet );
2021 SqlParser .Config config = SqlParser .config ()
2122 .withParserFactory (SqlParserImpl .FACTORY )
23+ .withQuotedCasing (Casing .UNCHANGED )
24+ .withUnquotedCasing (Casing .UNCHANGED )
2225 .withConformance (SqlConformanceEnum .LENIENT )
26+ .withCaseSensitive (true )
2327 .withQuoting (Quoting .BRACKET );
2428 return SqlParser .create (sql , config ).parseQuery ();
2529
Original file line number Diff line number Diff line change 1919 <groupId >datart</groupId >
2020 <artifactId >datart-parent</artifactId >
2121 <packaging >pom</packaging >
22- <version >1.0.0-beta.1 </version >
22+ <version >1.0.0-beta.2 </version >
2323
2424 <dependencies >
2525 <dependency >
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
Original file line number Diff line number Diff line change 55 <parent >
66 <artifactId >datart-parent</artifactId >
77 <groupId >datart</groupId >
8- <version >1.0.0-beta.1 </version >
8+ <version >1.0.0-beta.2 </version >
99 </parent >
1010 <modelVersion >4.0.0</modelVersion >
1111
7070 <groupId >org.springframework.boot</groupId >
7171 <artifactId >spring-boot-starter-oauth2-client</artifactId >
7272 </dependency >
73+
74+ <dependency >
75+ <groupId >org.springframework.boot</groupId >
76+ <artifactId >spring-boot-starter-data-ldap</artifactId >
77+ </dependency >
78+
7379 <dependency >
7480 <groupId >com.jayway.jsonpath</groupId >
7581 <artifactId >json-path</artifactId >
You can’t perform that action at this time.
0 commit comments