Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implement hexInt/hexStr function push down #5280

Merged
merged 27 commits into from
Jul 22, 2022
Merged
Changes from 3 commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
796e9b4
implement hex str function
YangKeao Jul 3, 2022
2f6d92b
implement hex int function
YangKeao Jul 3, 2022
dfff46b
format codes
YangKeao Jul 3, 2022
4f11229
fix test arguments order
YangKeao Jul 3, 2022
e057637
fix clang-lint
YangKeao Jul 4, 2022
0ca9582
Merge remote-tracking branch 'upstream/master' into impl-hex-int-str-arg
YangKeao Jul 5, 2022
9915484
add more test
YangKeao Jul 5, 2022
5e8ff53
fix typo in comment
YangKeao Jul 6, 2022
5f5bc7c
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 6, 2022
954310f
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 6, 2022
c7b7c28
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 6, 2022
a39a99b
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 7, 2022
50972ae
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 7, 2022
07aa6a1
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 7, 2022
ed8804c
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 7, 2022
b02872e
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 7, 2022
17db789
Merge branch 'master' into impl-hex-int-str-arg
ti-chi-bot Jul 7, 2022
4d8b659
Merge branch 'master' into impl-hex-int-str-arg
SeaRise Jul 13, 2022
a12f384
replace single quote to double quote in test
YangKeao Jul 20, 2022
c2bf924
Merge remote-tracking branch 'origin/impl-hex-int-str-arg' into impl-…
YangKeao Jul 20, 2022
967eb57
Merge remote-tracking branch 'upstream/master' into impl-hex-int-str-arg
YangKeao Jul 20, 2022
5b56a45
Merge branch 'master' into impl-hex-int-str-arg
YangKeao Jul 20, 2022
d6f5feb
Merge remote-tracking branch 'upstream/master' into impl-hex-int-str-arg
YangKeao Jul 20, 2022
86cbf1c
Merge remote-tracking branch 'origin/impl-hex-int-str-arg' into impl-…
YangKeao Jul 20, 2022
d804daa
Merge remote-tracking branch 'upstream/master' into impl-hex-int-str-arg
YangKeao Jul 20, 2022
f266176
Merge branch 'master' into impl-hex-int-str-arg
YangKeao Jul 21, 2022
844eda6
Merge branch 'master' into impl-hex-int-str-arg
SeaRise Jul 21, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 11 additions & 15 deletions tests/fullstack-test/expr/hex_str.test
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,14 @@ mysql> alter table test.t set tiflash replica 1;
func> wait_table test t

mysql> set tidb_enforce_mpp=1; set tidb_isolation_read_engines='tiflash'; select hex(a) from test.t;
+----------------------------------------------------------------------+
| hex(a) |
+----------------------------------------------------------------------+
| 7777772E70696E676361702E636F6D |
| 61626364 |
| E6B58BE8AF95E6B58BE8AF95E6B58BE8AF95E6B58BE8AF9561626364E6B58BE8AF95 |
| NULL |
| E38195E38289E381ABE585A5 |
| E6B58BE8AF95E6B58BE8AF95E6B58BE8AF95E6B58BE8AF9561626364E6B58BE8AF95 |
| |
Lloyd-Pottiger marked this conversation as resolved.
Show resolved Hide resolved
| F09F8DBB |
| F09F8FB4E2808DE298A0EFB88F |
| 09 |
| 0A |
+----------------------------------------------------------------------+
hex(a)
7777772E70696E676361702E636F6D
61626364
E6B58BE8AF95E6B58BE8AF95E6B58BE8AF95E6B58BE8AF9561626364E6B58BE8AF95
NULL
E38195E38289E381ABE585A5
E6B58BE8AF95E6B58BE8AF95E6B58BE8AF95E6B58BE8AF9561626364E6B58BE8AF95
F09F8DBB
F09F8FB4E2808DE298A0EFB88F
09
0A