Skip to content

Commit

Permalink
Update expected output
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmed-shameem committed Jan 30, 2025
1 parent 05b7ac9 commit 27c1368
Show file tree
Hide file tree
Showing 7 changed files with 2,175 additions and 139 deletions.
62 changes: 31 additions & 31 deletions test/JDBC/expected/babel_collection.out
Original file line number Diff line number Diff line change
Expand Up @@ -184,13 +184,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE 'jones'
Bitmap Heap Scan on testing4 (cost=11.40..29.53 rows=3 width=32)
Filter: ((c1)::text = 'jones'::text COLLATE "default")
Filter: ((c1)::text = 'jones'::text)
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 7.700 ms
Babelfish T-SQL Batch Parsing Time: 7.280 ms
~~END~~


Expand All @@ -200,13 +200,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE 'Jon%'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* 'Jon%'::text COLLATE "default") AND ((c1)::text >= 'Jon'::text COLLATE "default") AND ((c1)::text < 'Jon?'::text))
Filter: (((c1)::text ~~* 'Jon%'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= 'Jon'::text) AND ((c1)::text < 'Jon?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.145 ms
Babelfish T-SQL Batch Parsing Time: 0.142 ms
~~END~~


Expand All @@ -216,7 +216,7 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE 'jone_'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* 'jone_'::text COLLATE "default") AND ((c1)::text >= 'jone'::text COLLATE "default") AND ((c1)::text < 'jone?'::text))
Filter: (((c1)::text ~~* 'jone_'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= 'jone'::text) AND ((c1)::text < 'jone?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

Expand All @@ -232,7 +232,7 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE '_one_'
Bitmap Heap Scan on testing4 (cost=11.40..29.53 rows=5 width=32)
Filter: ((c1)::text ~~* '_one_'::text COLLATE "default")
Filter: ((c1)::text ~~* '_one_'::text COLLATE bbf_unicode_cp1_cs_as)
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

Expand All @@ -248,13 +248,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE '%on%s'
Bitmap Heap Scan on testing4 (cost=11.41..29.53 rows=26 width=32)
Filter: ((c1)::text ~~* '%on%s'::text COLLATE "default")
Filter: ((c1)::text ~~* '%on%s'::text COLLATE bbf_unicode_cp1_cs_as)
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.136 ms
Babelfish T-SQL Batch Parsing Time: 0.140 ms
~~END~~


Expand All @@ -265,13 +265,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE 'ab%'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* 'ab%'::text COLLATE "default") AND ((c1)::text >= 'ab'::text COLLATE "default") AND ((c1)::text < 'ab?'::text))
Filter: (((c1)::text ~~* 'ab%'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= 'ab'::text) AND ((c1)::text < 'ab?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.144 ms
Babelfish T-SQL Batch Parsing Time: 0.146 ms
~~END~~

select c1 from testing4 where c1 LIKE 'äb%';
Expand All @@ -280,13 +280,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE 'äb%'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* 'äb%'::text COLLATE "default") AND ((c1)::text >= 'äb'::text COLLATE "default") AND ((c1)::text < 'äb?'::text))
Filter: (((c1)::text ~~* 'äb%'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= 'äb'::text) AND ((c1)::text < 'äb?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.134 ms
Babelfish T-SQL Batch Parsing Time: 0.140 ms
~~END~~

select c1 from testing4 where c1 LIKE 'äḃĆ_';
Expand All @@ -295,13 +295,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE 'ä??_'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* 'ä??_'::text COLLATE "default") AND ((c1)::text >= 'ä??'::text COLLATE "default") AND ((c1)::text < 'ä???'::text))
Filter: (((c1)::text ~~* 'ä??_'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= 'ä??'::text) AND ((c1)::text < 'ä???'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.139 ms
Babelfish T-SQL Batch Parsing Time: 0.142 ms
~~END~~


Expand All @@ -312,13 +312,13 @@ GO
text
Query Text: select c1 from testing4 where c1 NOT LIKE 'jones'
Bitmap Heap Scan on testing4 (cost=11.56..29.69 rows=647 width=32)
Filter: ((c1)::text <> 'jones'::text COLLATE "default")
Filter: ((c1)::text <> 'jones'::text)
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 1.323 ms
Babelfish T-SQL Batch Parsing Time: 0.963 ms
~~END~~


Expand All @@ -328,13 +328,13 @@ GO
text
Query Text: select c1 from testing4 where c1 NOT LIKE 'jone%'
Bitmap Heap Scan on testing4 (cost=11.56..32.94 rows=648 width=32)
Filter: (((c1)::text !~~* 'jone%'::text COLLATE "default") OR ((c1)::text < 'jone'::text COLLATE "default") OR ((c1)::text >= 'jone?'::text))
Filter: (((c1)::text !~~* 'jone%'::text COLLATE bbf_unicode_cp1_cs_as) OR ((c1)::text < 'jone'::text) OR ((c1)::text >= 'jone?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.137 ms
Babelfish T-SQL Batch Parsing Time: 0.196 ms
~~END~~


Expand All @@ -344,13 +344,13 @@ GO
text
Query Text: select c1 from testing4 where c1 NOT LIKE 'ä%'
Bitmap Heap Scan on testing4 (cost=11.55..32.92 rows=592 width=32)
Filter: (((c1)::text !~~* 'ä%'::text COLLATE "default") OR ((c1)::text < 'ä'::text COLLATE "default") OR ((c1)::text >= 'ä?'::text))
Filter: (((c1)::text !~~* 'ä%'::text COLLATE bbf_unicode_cp1_cs_as) OR ((c1)::text < 'ä'::text) OR ((c1)::text >= 'ä?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.140 ms
Babelfish T-SQL Batch Parsing Time: 0.180 ms
~~END~~


Expand All @@ -362,13 +362,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE '\%ones'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* '\%ones'::text COLLATE "default") AND ((c1)::text >= '\'::text COLLATE "default") AND ((c1)::text < '\?'::text))
Filter: (((c1)::text ~~* '\%ones'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= '\'::text) AND ((c1)::text < '\?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.141 ms
Babelfish T-SQL Batch Parsing Time: 0.142 ms
~~END~~


Expand All @@ -378,13 +378,13 @@ GO
text
Query Text: select c1 from testing4 where c1 LIKE '\_ones'
Bitmap Heap Scan on testing4 (cost=11.40..32.78 rows=1 width=32)
Filter: (((c1)::text ~~* '\_ones'::text COLLATE "default") AND ((c1)::text >= '\'::text COLLATE "default") AND ((c1)::text < '\?'::text))
Filter: (((c1)::text ~~* '\_ones'::text COLLATE bbf_unicode_cp1_cs_as) AND ((c1)::text >= '\'::text) AND ((c1)::text < '\?'::text))
-> Bitmap Index Scan on c1_idxtesting49a168d73f3ba5aacdfd495b931b8d187 (cost=0.00..11.40 rows=650 width=0)
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.128 ms
Babelfish T-SQL Batch Parsing Time: 0.179 ms
~~END~~


Expand Down Expand Up @@ -516,7 +516,7 @@ Seq Scan on testing5 (cost=10000000000.00..10000000027.00 rows=7 width=32)

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.113 ms
Babelfish T-SQL Batch Parsing Time: 0.121 ms
~~END~~

SET babelfish_showplan_all OFF;
Expand Down Expand Up @@ -557,7 +557,7 @@ Seq Scan on testing5 (cost=10000000000.00..10000000027.00 rows=7 width=32)

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.110 ms
Babelfish T-SQL Batch Parsing Time: 0.118 ms
~~END~~

SET babelfish_showplan_all OFF;
Expand All @@ -581,7 +581,7 @@ Result (cost=0.00..0.00 rows=0 width=0)

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.111 ms
Babelfish T-SQL Batch Parsing Time: 0.117 ms
~~END~~

SET babelfish_showplan_all OFF;
Expand All @@ -603,12 +603,12 @@ GO
text
Query Text: SELECT * FROM testing5 where c1 COLLATE French_CI_AS like 'jo%'
Seq Scan on testing5 (cost=10000000000.00..10000000033.80 rows=1 width=32)
Filter: (((c1)::text ~~* 'jo%'::text COLLATE "default") AND ((c1)::text >= 'jo'::text COLLATE "default") AND ((c1)::text < 'jo?'::text))
Filter: (((c1)::text ~~* 'jo%'::text COLLATE french_cs_as) AND ((c1)::text >= 'jo'::text COLLATE french_ci_as) AND ((c1)::text < 'jo?'::text COLLATE french_ci_as))
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.131 ms
Babelfish T-SQL Batch Parsing Time: 0.136 ms
~~END~~

SET babelfish_showplan_all OFF;
Expand All @@ -629,12 +629,12 @@ GO
text
Query Text: SELECT * FROM testing5 where c1 COLLATE Chinese_PRC_CI_AS like 'jo%'
Seq Scan on testing5 (cost=10000000000.00..10000000033.80 rows=1 width=32)
Filter: (((c1)::text ~~* 'jo%'::text COLLATE "default") AND ((c1)::text >= 'jo'::text COLLATE "default") AND ((c1)::text < 'jo?'::text))
Filter: (((c1)::text ~~* 'jo%'::text COLLATE chinese_prc_cs_as) AND ((c1)::text >= 'jo'::text COLLATE chinese_prc_ci_as) AND ((c1)::text < 'jo?'::text COLLATE chinese_prc_ci_as))
~~END~~

~~START~~
text
Babelfish T-SQL Batch Parsing Time: 0.130 ms
Babelfish T-SQL Batch Parsing Time: 0.136 ms
~~END~~

SET babelfish_showplan_all OFF;
Expand Down
Loading

0 comments on commit 27c1368

Please sign in to comment.