aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraneporada <aneporada@ydb.tech>2023-10-16 11:22:31 +0300
committeraneporada <aneporada@ydb.tech>2023-10-16 11:58:18 +0300
commit458c0f1aa2b78b6f685ec53d9086a15c1759c91a (patch)
treef5aadbf716c027796e315dd59ae2065588c5a753
parent6e9f19f263172afcddaf7ee141c3dc5ad4d86ceb (diff)
downloadydb-458c0f1aa2b78b6f685ec53d9086a15c1759c91a.tar.gz
Temporarily disable LLVM for negative hyperscan test
-rw-r--r--ydb/library/yql/udfs/common/hyperscan/test/canondata/result.json4
-rw-r--r--ydb/library/yql/udfs/common/hyperscan/test/canondata/test.test_Error_/extracted8
-rw-r--r--ydb/library/yql/udfs/common/hyperscan/test/cases/Error.sql2
3 files changed, 12 insertions, 2 deletions
diff --git a/ydb/library/yql/udfs/common/hyperscan/test/canondata/result.json b/ydb/library/yql/udfs/common/hyperscan/test/canondata/result.json
index 39b61d3ee9..93e6411aec 100644
--- a/ydb/library/yql/udfs/common/hyperscan/test/canondata/result.json
+++ b/ydb/library/yql/udfs/common/hyperscan/test/canondata/result.json
@@ -10,6 +10,8 @@
}
],
"test.test[Error]": [
- ""
+ {
+ "uri": "file://test.test_Error_/extracted"
+ }
]
}
diff --git a/ydb/library/yql/udfs/common/hyperscan/test/canondata/test.test_Error_/extracted b/ydb/library/yql/udfs/common/hyperscan/test/canondata/test.test_Error_/extracted
new file mode 100644
index 0000000000..ced96b06b5
--- /dev/null
+++ b/ydb/library/yql/udfs/common/hyperscan/test/canondata/test.test_Error_/extracted
@@ -0,0 +1,8 @@
+<tmp_path>/program.sql:<main>: Fatal: Execution
+
+ <tmp_path>/program.sql:<main>:8:1: Fatal: Execution of node: YtMap!
+ SELECT $match(value) AS match FROM Input;
+ ^
+ <tmp_path>/program.sql:<main>:6:21: Fatal: library/cpp/regex/hyperscan/hyperscan.cpp:100: Failed to compile regex: ^*$. Error message (hyperscan): Invalid repeat at index 1.
+ $match = Hyperscan::Match("*");
+ ^ \ No newline at end of file
diff --git a/ydb/library/yql/udfs/common/hyperscan/test/cases/Error.sql b/ydb/library/yql/udfs/common/hyperscan/test/cases/Error.sql
index f824261eee..26ece06ca0 100644
--- a/ydb/library/yql/udfs/common/hyperscan/test/cases/Error.sql
+++ b/ydb/library/yql/udfs/common/hyperscan/test/cases/Error.sql
@@ -1,4 +1,4 @@
/* syntax version 1 */
+PRAGMA config.flags("LLVM","OFF"); -- TODO: fix error handling with LLVM
$match = Hyperscan::Match("*");
---PRAGMA config.flags("LLVM","OFF");
SELECT $match(value) AS match FROM Input;