YC27 commented on code in PR #13466:
URL: https://github.com/apache/iotdb/pull/13466#discussion_r1766096878
##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/plan/parser/ASTVisitor.java:
##########
@@ -2005,6 +2006,28 @@ private long parseTimeValue(ConstantContext constant) {
@Override
public Statement visitLoadFile(IoTDBSqlParser.LoadFileContext ctx) {
try {
+ // if sql have with, return new load sql statement
+ if (ctx.loadFileWithAttributeClauses() != null) {
+ final Map<String, String> loadTsFileAttributes = new HashMap<>();
+ if (ctx.loadFileWithAttributeClauses() != null) {
Review Comment:
It is indeed one more time, there is no need to add. 👍
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]