This is an automated email from the ASF dual-hosted git repository.
novatechflow pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/wayang.git
from 480558cd7 Merge pull request #806 from
AliRana30/fix/ml-tree-encoder-encode-ids-config-776
add a36bac8c6 [WAYANG-836] Validate and escape table identifiers in JDBC
sink operators
new a158d4c50 Merge pull request #839 from
AliRana30/fix/validate-escape-table-identifiers-836
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
.../apache/wayang/basic/operators/TableSink.java | 8 +
.../apache/wayang/basic/util/DatabaseProduct.java | 2 +
.../wayang/basic/util/SqlIdentifierUtils.java | 374 +++++++++++++++++++++
.../org/apache/wayang/basic/util/SqlTypeUtils.java | 7 +-
.../wayang/basic/util/SqlIdentifierUtilsTest.java | 354 +++++++++++++++++++
.../apache/wayang/basic/util/SqlTypeUtilsTest.java | 21 ++
wayang-platforms/wayang-java/pom.xml | 6 +
.../wayang/java/operators/JavaTableSink.java | 20 +-
.../wayang/java/operators/JavaTableSinkTest.java | 220 +++++++++++-
.../apache/wayang/jdbc/execution/JdbcExecutor.java | 2 +-
.../jdbc/operators/JdbcTableSinkOperator.java | 18 +-
.../jdbc/execution/JdbcTableSinkExecutorTest.java | 66 +++-
.../wayang/jdbc/test/HsqldbTableSinkOperator.java | 5 +-
.../wayang/spark/operators/SparkTableSink.java | 12 +-
.../wayang/spark/operators/SparkTableSinkTest.java | 16 +-
15 files changed, 1087 insertions(+), 44 deletions(-)
create mode 100644
wayang-commons/wayang-basic/src/main/java/org/apache/wayang/basic/util/SqlIdentifierUtils.java
create mode 100644
wayang-commons/wayang-basic/src/test/java/org/apache/wayang/basic/util/SqlIdentifierUtilsTest.java