diff --git a/be/src/vec/functions/function_fake.cpp b/be/src/vec/functions/function_fake.cpp index 9c503dfc80960d..6a4f6275e1a89b 100644 --- a/be/src/vec/functions/function_fake.cpp +++ b/be/src/vec/functions/function_fake.cpp @@ -158,6 +158,8 @@ void register_function_fake(SimpleFunctionFactory& factory) { register_table_function_expand_outer_default( factory, "explode_json_array_double"); register_table_function_expand_outer_default(factory, "explode_bitmap"); - register_table_function_expand_outer_default(factory, "explode_variant_array"); + register_table_function_expand_outer_default(factory, + "explode_variant_array"); +} } // namespace doris::vectorized diff --git a/regression-test/data/variant_p0/schema_change/test_double_write_when_schema_change.out b/regression-test/data/variant_p0/schema_change/test_double_write_when_schema_change.out index c22f0387d90011..2d8418a555a00c 100644 --- a/regression-test/data/variant_p0/schema_change/test_double_write_when_schema_change.out +++ b/regression-test/data/variant_p0/schema_change/test_double_write_when_schema_change.out @@ -24,14 +24,14 @@ CreateEvent 2489368089 2015-01-01T00:00:01Z PullRequestEvent 2489395770 2015-01-01T01:00:02Z -- !sql -- -[] -[{"author":{"email":"0dfbe0912134938594f432abfeb9cb2f2e9092c9@gmail.com","name":"Gyu-Ho Lee"},"distinct":1,"message":"Commit with markdownx at 2014-12-31 17:59:58","sha":"cf79996e894954b28db73a6bed54ba490c63f174","url":"https://api.github.com/repos/gyuho/cipherx/commits/cf79996e894954b28db73a6bed54ba490c63f174"}] -[{"author":{"email":"73812536+upptime-bot@users.noreply.github.com","name":"Upptime Bot"},"distinct":1,"message":":bento: Update graphs [skip ci]","sha":"81106d369f763cb729d9d77610ace252c9db53f0","url":"https://api.github.com/repos/savorfamily/upptime/commits/81106d369f763cb729d9d77610ace252c9db53f0"}] -[{"author":{"email":"73812536+upptime-bot@users.noreply.github.com","name":"Upptime Bot"},"distinct":1,"message":":bento: Update graphs [skip ci]","sha":"81106d369f763cb729d9d77610ace252c9db53f0","url":"https://api.github.com/repos/savorfamily/upptime/commits/81106d369f763cb729d9d77610ace252c9db53f0"}] -[{"author":{"email":"73812536+upptime-bot@users.noreply.github.com","name":"Upptime Bot"},"distinct":1,"message":":bento: Update graphs [skip ci]","sha":"81106d369f763cb729d9d77610ace252c9db53f0","url":"https://api.github.com/repos/savorfamily/upptime/commits/81106d369f763cb729d9d77610ace252c9db53f0"}] -[{"author":{"email":"73812536+upptime-bot@users.noreply.github.com","name":"Upptime Bot"},"distinct":1,"message":":bento: Update graphs [skip ci]","sha":"81106d369f763cb729d9d77610ace252c9db53f0","url":"https://api.github.com/repos/savorfamily/upptime/commits/81106d369f763cb729d9d77610ace252c9db53f0"}] -[{"author":{"email":"73812536+upptime-bot@users.noreply.github.com","name":"Upptime Bot"},"distinct":1,"message":":bento: Update graphs [skip ci]","sha":"81106d369f763cb729d9d77610ace252c9db53f0","url":"https://api.github.com/repos/savorfamily/upptime/commits/81106d369f763cb729d9d77610ace252c9db53f0"}] -[{"author":{"email":"73812536+upptime-bot@users.noreply.github.com","name":"Upptime Bot"},"distinct":1,"message":":bento: Update graphs [skip ci]","sha":"81106d369f763cb729d9d77610ace252c9db53f0","url":"https://api.github.com/repos/savorfamily/upptime/commits/81106d369f763cb729d9d77610ace252c9db53f0"}] -[{"author":{"email":"88de463b5797707cf3425f85a415c3d869db732b@gmail.com","name":"Soumith Chintala"},"distinct":1,"message":"back to old structure, except lua files moved out","sha":"dbd68d30ee1f7b60d404553fc1c6226ebb374c8e","url":"https://api.github.com/repos/soumith/fbcunn/commits/dbd68d30ee1f7b60d404553fc1c6226ebb374c8e"}, {"author":{"email":"88de463b5797707cf3425f85a415c3d869db732b@gmail.com","name":"Soumith Chintala"},"distinct":1,"message":"...","sha":"5567f9f5a83d7fe3320b18e5b89405e8a5ca77e6","url":"https://api.github.com/repos/soumith/fbcunn/commits/5567f9f5a83d7fe3320b18e5b89405e8a5ca77e6"}, {"author":{"email":"88de463b5797707cf3425f85a415c3d869db732b@gmail.com","name":"Soumith Chintala"},"distinct":1,"message":"...","sha":"58a83b277328eca811d3a37cf171b2fc4fcd87af","url":"https://api.github.com/repos/soumith/fbcunn/commits/58a83b277328eca811d3a37cf171b2fc4fcd87af"}, {"author":{"email":"88de463b5797707cf3425f85a415c3d869db732b@gmail.com","name":"Soumith Chintala"},"distinct":1,"message":"...","sha":"fa6048ec9b9eeafd12cee5f81324f355e1f2a198","url":"https://api.github.com/repos/soumith/fbcunn/commits/fa6048ec9b9eeafd12cee5f81324f355e1f2a198"}] -[{"author":{"email":"da8d7d1118ca5befd4d0d3e4f449c76ba6f1ee7e@live.com","name":"davidjhulse"},"distinct":1,"message":"Altered BingBot.jar\\n\\nFixed issue with multiple account support","sha":"a9b22a6d80c1e0bb49c1cf75a3c075b642c28f81","url":"https://api.github.com/repos/davidjhulse/davesbingrewardsbot/commits/a9b22a6d80c1e0bb49c1cf75a3c075b642c28f81"}] +2 [{"author":{"email":"5f33e8ddd36b0c849687df732835b9abbe9b347b@twistedmatrix.com","name":"Christopher Armstrong"},"distinct":1,"message":"put the auto-generated API docs in the repository so readthedocs will work.\\nsigh.","sha":"defdbe78db98ad69d72f42b09194309f47616592","url":"https://api.github.com/repos/radix/effect/commits/defdbe78db98ad69d72f42b09194309f47616592"}] +2 [{"author":{"email":"61dcbbf08c9f7aaa2b1d0a9ce0b90608a83988c2@ucr.edu","name":"Jamal Moon"},"distinct":1,"message":"Can be run from outside of bin. Fixed multi-line issue","sha":"56688cc528224d40679b7e83c105b27367443a8c","url":"https://api.github.com/repos/jmoon018/rshell-unit-tester/commits/56688cc528224d40679b7e83c105b27367443a8c"}] +2 [{"author":{"email":"f9bad8375b9564f6e0f50984c0171ad9df9a017d@gmail.com","name":"Earnestly"},"distinct":1,"message":"Change the PFM family to monospace from serif.","sha":"f38a055078e5e19a19f9e58ac975c7e815d09a24","url":"https://api.github.com/repos/Earnestly/fncp6/commits/f38a055078e5e19a19f9e58ac975c7e815d09a24"}] +3 [{"author":{"email":"efaae62f337a1f70859f6f43996fca5b241e0786@jiubao.org","name":"Kubo Takehiro"},"distinct":1,"message":"Use SSE4.2 to calculate crc32c.","sha":"a9df8f52df7bea62a9ddbd2779a22755aa7d2258","url":"https://api.github.com/repos/kubo/snzip/commits/a9df8f52df7bea62a9ddbd2779a22755aa7d2258"}] +4 [{"author":{"email":"291c18f3fb7528c712d9098b0e50a515ea0b91d5@cloudera.com","name":"Sean Owen"},"distinct":1,"message":"SPARK-2757 [BUILD] [STREAMING] Add Mima test for Spark Sink after 1.10 is released\\n\\nRe-enable MiMa for Streaming Flume Sink module, now that 1.1.0 is released, per the JIRA TO-DO. That's pretty much all there is to this.\\n\\nAuthor: Sean Owen \\n\\nCloses #3842 from srowen/SPARK-2757 and squashes the following commits:\\n\\n50ff80e [Sean Owen] Exclude apparent false positive turned up by re-enabling MiMa checks for Streaming Flume Sink\\n0e5ba5c [Sean Owen] Re-enable MiMa for Streaming Flume Sink module","sha":"4bb12488d56ea651c56d9688996b464b99095582","url":"https://api.github.com/repos/apache/spark/commits/4bb12488d56ea651c56d9688996b464b99095582"}] +4 [{"author":{"email":"9ec2b9d5f2203d75c2b0f7885bd663d9d57a2d20@squareup.com","name":"Jake Wharton"},"distinct":0,"message":"Remove unused method.","sha":"ec572201658b566373845657a8aca7bc6d6214a4","url":"https://api.github.com/repos/square/okhttp/commits/ec572201658b566373845657a8aca7bc6d6214a4"}, {"author":{"email":"a5c95b3d7cb4d0ae05a15c79c79ab458dc2c8f9e@swank.ca","name":"Jesse Wilson"},"distinct":0,"message":"Merge pull request #1262 from square/jw/unused\\n\\nRemove unused method.","sha":"bfa25f05bd5786c990fccb513f56375a4f98d95b","url":"https://api.github.com/repos/square/okhttp/commits/bfa25f05bd5786c990fccb513f56375a4f98d95b"}, {"author":{"email":"a64cc9f76231f0ec4acb28039b9f699588583cb0@gmail.com","name":"Christian Becker"},"distinct":0,"message":"Update CHANGELOG.md","sha":"6909923b89d98fef39600a170aa50e566dbb730a","url":"https://api.github.com/repos/square/okhttp/commits/6909923b89d98fef39600a170aa50e566dbb730a"}, {"author":{"email":"a5c95b3d7cb4d0ae05a15c79c79ab458dc2c8f9e@swank.ca","name":"Jesse Wilson"},"distinct":0,"message":"Merge pull request #1263 from ChristianBecker/patch-1\\n\\nUpdate CHANGELOG.md","sha":"2ca6dfd055d480a4ef3520af39ad4b7ba02d5491","url":"https://api.github.com/repos/square/okhttp/commits/2ca6dfd055d480a4ef3520af39ad4b7ba02d5491"}, {"author":{"email":"b559ba3411cf55dd74bd9675d6ce4d094c2e3438@squareup.com","name":"Jesse Wilson"},"distinct":0,"message":"We now fall back to TLS 1.0.","sha":"5527a1764d973d293faffe31faddf205e3f37641","url":"https://api.github.com/repos/square/okhttp/commits/5527a1764d973d293faffe31faddf205e3f37641"}, {"author":{"email":"9ec2b9d5f2203d75c2b0f7885bd663d9d57a2d20@squareup.com","name":"Jake Wharton"},"distinct":0,"message":"Skip buffer allocation when not needed.","sha":"31ec212f84edbe04b9b705f521ed7dc3bd7ddc3a","url":"https://api.github.com/repos/square/okhttp/commits/31ec212f84edbe04b9b705f521ed7dc3bd7ddc3a"}, {"author":{"email":"a5c95b3d7cb4d0ae05a15c79c79ab458dc2c8f9e@swank.ca","name":"Jesse Wilson"},"distinct":0,"message":"Merge pull request #1264 from square/jw/kill-two-allocations\\n\\nSkip buffer allocation when not needed.","sha":"7756c4e4fe1cd703cff07d218da2fecb30f916c6","url":"https://api.github.com/repos/square/okhttp/commits/7756c4e4fe1cd703cff07d218da2fecb30f916c6"}, {"author":{"email":"9ec2b9d5f2203d75c2b0f7885bd663d9d57a2d20@squareup.com","name":"Jake Wharton"},"distinct":1,"message":"Add a web socket call concept for connecting.\\n\\nSimilar to HTTP and Call, the WebSocketCall is a representation of a pending HTTP request and subsequent upgrade to speak web sockets. Upon synchronous execution you are handed a WebSocket instance for synchronous writing and also pass in a WebSocketListener for async callbacks due to reading.\\n\\nThe API changes in this commits also generalize WebSocket such that it's agnostic to being a client or server peer.","sha":"bc9aa8a0c999232d2675cf5ba60e9c9d03f2a806","url":"https://api.github.com/repos/square/okhttp/commits/bc9aa8a0c999232d2675cf5ba60e9c9d03f2a806"}] +4 [{"author":{"email":"bd02fa4a4ee63436bd157864cccdf8b3a026562b@appnexus.com","name":"Oliver Gupte"},"distinct":1,"message":"updated manifests","sha":"216d05c696eac3fa606289c7f1934f965ffa8f5b","url":"https://api.github.com/repos/ogupte/trope/commits/216d05c696eac3fa606289c7f1934f965ffa8f5b"}] +5 [{"author":{"email":"0b727f1f5f209fb32b7d5f0f03dfd6734cdab338@gmail.com","name":"Mohit"},"distinct":1,"message":"init","sha":"97a402b54bfd562b8cefd11f1361cd5af41b0535","url":"https://api.github.com/repos/git4ruby/movie_review1/commits/97a402b54bfd562b8cefd11f1361cd5af41b0535"}] +6 [{"author":{"email":"50f3f01caa053693ce619d596e14b0ff3901ab49@twistedlogik.net","name":"Cole Campbell"},"distinct":0,"message":"Update README.md","sha":"fe5a3431a486388f6011fa8db52fba8a53f9aa70","url":"https://api.github.com/repos/tlgkccampbell/ultraviolet/commits/fe5a3431a486388f6011fa8db52fba8a53f9aa70"}, {"author":{"email":"50f3f01caa053693ce619d596e14b0ff3901ab49@twistedlogik.net","name":"Cole Campbell"},"distinct":0,"message":"Added missing update scripts for sample dependencies","sha":"c71669b93924abc498af58855f8fe86564146673","url":"https://api.github.com/repos/tlgkccampbell/ultraviolet/commits/c71669b93924abc498af58855f8fe86564146673"}, {"author":{"email":"50f3f01caa053693ce619d596e14b0ff3901ab49@twistedlogik.net","name":"Cole Campbell"},"distinct":1,"message":"Merge master","sha":"e52d8a048be944e6d410a94ecec0cecc959e3dd4","url":"https://api.github.com/repos/tlgkccampbell/ultraviolet/commits/e52d8a048be944e6d410a94ecec0cecc959e3dd4"}] +6 [{"author":{"email":"821f468726cd384db724fde38ddabae6642cf80c@gmail.com","name":"Uygun BODUR"},"distinct":1,"message":".","sha":"0fb2391e7aabeb57f358d5d51c70c766e6fa00d1","url":"https://api.github.com/repos/uygunuks/AsalSayiKalibi/commits/0fb2391e7aabeb57f358d5d51c70c766e6fa00d1"}] diff --git a/regression-test/suites/variant_p0/schema_change/test_double_write_when_schema_change.groovy b/regression-test/suites/variant_p0/schema_change/test_double_write_when_schema_change.groovy index d1fdff6779b530..5c9d85fb8edefa 100644 --- a/regression-test/suites/variant_p0/schema_change/test_double_write_when_schema_change.groovy +++ b/regression-test/suites/variant_p0/schema_change/test_double_write_when_schema_change.groovy @@ -115,7 +115,7 @@ suite("double_write_schema_change_with_variant", "nonConcurrent") { sql """select * from github_events order by k limit 10""" sql "set enable_two_phase_read_opt = true" sql """select * from github_events order by k limit 10""" - order_qt_sql """select v['payload']['commits'] from github_events where v['payload']['commits'] is not null order by k limit 10""" + order_qt_sql """select k, v['payload']['commits'] from github_events where length(cast(v['payload']['commits'] as text)) > 100 and k > 1 order by k, length(cast(v['payload']['commits'] as text)) limit 10""" // createMV("create materialized view xxx as select k, sum(k) from ${table_name} group by k order by k;") // qt_sql "select v['type'], v['id'], v['created_at'] from ${table_name} where cast(v['id'] as bigint) != 25061216922 order by k, cast(v['id'] as bigint) limit 10"