nizhikov commented on a change in pull request #8821:
URL: https://github.com/apache/ignite/pull/8821#discussion_r581890600
##########
File path:
modules/core/src/main/java/org/apache/ignite/internal/processors/query/QueryUtils.java
##########
@@ -1610,6 +1638,23 @@ public static SqlFieldsQuery
withQueryTimeout(SqlFieldsQuery qry, int timeout, T
return qry;
}
+ /**
+ * @return {@code True} if output sensitive data allowed.
+ */
+ public static boolean includeSensitive() {
+ return INCLUDE_SENSITIVE || INCLUDE_SENSITIVE_TL.get();
+ }
+
+ /**
+ * @return Delimeter to use.
+ */
+ public static char delimeter() {
Review comment:
By default, AST SQL output is multiline.
So user queries will look ugly in `SYS.SQL_QUERIES_HISTORY`, JMX and other
tools that outputs SQL query history.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]