xiangfu0 commented on code in PR #16746:
URL: https://github.com/apache/pinot/pull/16746#discussion_r2324064678
##########
pinot-controller/src/main/java/org/apache/pinot/controller/api/resources/PinotQueryResource.java:
##########
@@ -223,17 +236,21 @@ public String getErrorMessage() {
public QueryErrorCode getErrorCode() {
return _errorCode;
}
+
+ public String getSql() {
+ return _sql;
+ }
}
public static class MultiStageQueryValidationRequest {
- private final String _sql;
+ private final List<String> _sql;
private final List<TableConfig> _tableConfigs;
private final List<Schema> _schemas;
private final List<LogicalTableConfig> _logicalTableConfigs;
private final boolean _ignoreCase;
@JsonCreator
- public MultiStageQueryValidationRequest(@JsonProperty("sql") String sql,
+ public MultiStageQueryValidationRequest(@JsonProperty("sql") List<String>
sql,
Review Comment:
@JsonProperty("sqls") List<String> sqls,
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]