diff options
author | udovichenko-r <udovichenko-r@yandex-team.com> | 2024-11-12 22:07:02 +0300 |
---|---|---|
committer | udovichenko-r <udovichenko-r@yandex-team.com> | 2024-11-12 22:21:07 +0300 |
commit | fa5655229271d7a09cce8033d1097f1b03daf94e (patch) | |
tree | 5922c2db17789e411b6cc46069c66188e834f28b /yql/essentials/udfs/common/datetime2 | |
parent | 77c13da33ae29c033359e516ac2eb55a6c3d5e9e (diff) | |
download | ydb-fa5655229271d7a09cce8033d1097f1b03daf94e.tar.gz |
Apply GH commits
Apply GH: Extract prefix and entries in backup-related sql (#10807)
Apply GH: Fix syntax for Column Family (#10781)
Apply GH: Case-insensitive mode for searching modules and functions (#10842)
Apply GH: Fixed i/o for pg_proc (#10914)
Apply GH: An option to render SQL transalation with Seq! (#11015)
commit_hash:d2d2fcdef2bbd0434236aef325aa071c7e39c526
Diffstat (limited to 'yql/essentials/udfs/common/datetime2')
4 files changed, 45 insertions, 0 deletions
diff --git a/yql/essentials/udfs/common/datetime2/test/canondata/result.json b/yql/essentials/udfs/common/datetime2/test/canondata/result.json index 6e475365ea..0ab7651bdc 100644 --- a/yql/essentials/udfs/common/datetime2/test/canondata/result.json +++ b/yql/essentials/udfs/common/datetime2/test/canondata/result.json @@ -54,6 +54,11 @@ "uri": "file://test.test_Get_/results.txt" } ], + "test.test[IgnoreCaseFuncs]": [ + { + "uri": "file://test.test_IgnoreCaseFuncs_/results.txt" + } + ], "test.test[ImplicitSplit]": [ { "uri": "file://test.test_ImplicitSplit_/results.txt" diff --git a/yql/essentials/udfs/common/datetime2/test/canondata/test.test_IgnoreCaseFuncs_/results.txt b/yql/essentials/udfs/common/datetime2/test/canondata/test.test_IgnoreCaseFuncs_/results.txt new file mode 100644 index 0000000000..2da9f03e5c --- /dev/null +++ b/yql/essentials/udfs/common/datetime2/test/canondata/test.test_IgnoreCaseFuncs_/results.txt @@ -0,0 +1,36 @@ +[ + { + "Write" = [ + { + "Type" = [ + "ListType"; + [ + "StructType"; + [ + [ + "column0"; + [ + "DataType"; + "Uint16" + ] + ]; + [ + "column1"; + [ + "DataType"; + "Uint8" + ] + ] + ] + ] + ]; + "Data" = [ + [ + "2001"; + "1" + ] + ] + } + ] + } +]
\ No newline at end of file diff --git a/yql/essentials/udfs/common/datetime2/test/cases/IgnoreCaseFuncs.cfg b/yql/essentials/udfs/common/datetime2/test/cases/IgnoreCaseFuncs.cfg new file mode 100644 index 0000000000..9a686c75c4 --- /dev/null +++ b/yql/essentials/udfs/common/datetime2/test/cases/IgnoreCaseFuncs.cfg @@ -0,0 +1 @@ +scan_udfs
\ No newline at end of file diff --git a/yql/essentials/udfs/common/datetime2/test/cases/IgnoreCaseFuncs.sql b/yql/essentials/udfs/common/datetime2/test/cases/IgnoreCaseFuncs.sql new file mode 100644 index 0000000000..4378b0a6a6 --- /dev/null +++ b/yql/essentials/udfs/common/datetime2/test/cases/IgnoreCaseFuncs.sql @@ -0,0 +1,3 @@ +pragma config.flags("UdfIgnoreCase"); +select + DATETIME::GETYEAR(Date('2001-01-01')),datetime::getmonth(Date('2001-01-01')) |