From 9bd842b7d6c52c455ab1f5f03c9ad57c8e993ea5 Mon Sep 17 00:00:00 2001 From: hayden Date: Mon, 28 Aug 2023 13:05:31 +0800 Subject: [PATCH] test: patch dtAddFile syntax unit tests --- test/parser/flinksql/syntax/fixtures/dtAddFile.sql | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/parser/flinksql/syntax/fixtures/dtAddFile.sql b/test/parser/flinksql/syntax/fixtures/dtAddFile.sql index 3a7aefa..8425e1a 100644 --- a/test/parser/flinksql/syntax/fixtures/dtAddFile.sql +++ b/test/parser/flinksql/syntax/fixtures/dtAddFile.sql @@ -2,6 +2,8 @@ ADD JAR WITH /home/test.jar; ADD JAR WITH /home/test.jar AS test.jar; +ADD FILE WITH /home/admin/sftp/dttest_cn/DsCenter_1687/krb5.conf; + ADD FILE WITH /home/admin/sftp/dttest_cn/DsCenter_1687/krb5.conf AS krb5.conf; ADD FILE WITH /home/admin/sftp/dttest_cn/DsCenter_1687/krb5.conf RENAME test.conf; @@ -10,8 +12,14 @@ ADD PYTHON_FILES WITH /test.py RENAME test.py; ADD PYTHON_REQUIREMENTS WITH /requirements.txt RENAME requirements.txt; +ADD PYTHON_DEPENDENCIES WITH /dependencies.txt RENAME dependencies.txt; + ADD PYTHON_JAR WITH /python_jar.jar RENAME py_jar.jar; ADD PYTHON_PARAMETER /parameter.py; -ADD ENGINE FILE WITH /filePath RENAME theName KEY theKey; \ No newline at end of file +ADD PYTHON_ARCHIVES WITH /archives.py RENAME archive.tx; + +ADD ENGINE FILE WITH /filePath RENAME theName KEY theKey; + +ADD CONFIG FILE WITH /config.ini FOR hiveConf as hadoop.cong.dir; \ No newline at end of file