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

refactor: Merge new expression #9411

Merged
merged 472 commits into from
Jan 6, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
472 commits
Select commit Hold shift + click to select a range
2f289f1
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 27, 2022
ff122a7
fix equal function name
leiysky Dec 27, 2022
2ff6065
fix projection
sundy-li Dec 27, 2022
cb7e703
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 27, 2022
13403b6
fix fuse read version
b41sh Dec 27, 2022
3b45a67
rename Chunk to DataBlock
andylokandy Dec 27, 2022
9315690
add to_string() for numbers
andylokandy Dec 27, 2022
763ae87
fix projection
sundy-li Dec 28, 2022
8293f7f
fix projection
sundy-li Dec 28, 2022
4ca8591
fix clippy.
RinChanNOWWW Dec 28, 2022
6f6bd0c
fix filter column ref index
andylokandy Dec 28, 2022
f9277c7
fix filter column ref index
andylokandy Dec 28, 2022
8aba982
fix filter column ref index
andylokandy Dec 28, 2022
a30d0d3
fix array insert
b41sh Dec 28, 2022
eba06bf
fix physical scalar builder
leiysky Dec 28, 2022
5b8ad19
fix table scan and fuse statistics.
RinChanNOWWW Dec 28, 2022
21a2fd9
fix date, timestamp insert
b41sh Dec 28, 2022
158d035
Fix filter expression ifor delete and recluster.
RinChanNOWWW Dec 28, 2022
ac75828
fill_todos
sundy-li Dec 28, 2022
c166901
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 28, 2022
3b45d5f
Fix show clause.
RinChanNOWWW Dec 28, 2022
ec4288c
Fix aggregation.
RinChanNOWWW Dec 28, 2022
d2c3c71
add block debug
sundy-li Dec 28, 2022
69ea0aa
Merge branch expression' of https://github.com/datafuselabs/databend …
sundy-li Dec 28, 2022
be16320
remove-context functions
sundy-li Dec 28, 2022
85d9dcf
update test
sundy-li Dec 28, 2022
386e559
AddFrom
sundy-li Dec 29, 2022
0dc1f3f
Fix type conversion.
RinChanNOWWW Dec 29, 2022
806bd20
FixConvert
sundy-li Dec 29, 2022
75907a2
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 29, 2022
80aca3d
cast string to int
b41sh Dec 29, 2022
75c05d6
is_builtin_function
sundy-li Dec 29, 2022
a9d436f
Fix compile of UT.
RinChanNOWWW Dec 29, 2022
e6e8ada
is_builtin_function
sundy-li Dec 29, 2022
45a4f5b
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 29, 2022
268dc4d
fix addon
sundy-li Dec 29, 2022
5672ff7
fix addon
sundy-li Dec 29, 2022
dedf56d
fix cast schema
b41sh Dec 29, 2022
f8fcb1c
Fix parse_exprs.
RinChanNOWWW Dec 29, 2022
74cb6b8
Fix column name.
RinChanNOWWW Dec 29, 2022
8d8f844
Fix ut of common-formats.
RinChanNOWWW Dec 29, 2022
043952d
Fix ut of functions-v2.
RinChanNOWWW Dec 29, 2022
ecc0929
Fix part of ut of proto-conv.
RinChanNOWWW Dec 29, 2022
e5edc9a
Fix ut of common-sql.
RinChanNOWWW Dec 29, 2022
d246d89
fix nullable cast
b41sh Dec 29, 2022
a44dde0
Merge branch 'main' into expression
sundy-li Dec 29, 2022
0051a38
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 29, 2022
6d4c25a
fix addon
sundy-li Dec 29, 2022
2580bb5
fix local
sundy-li Dec 29, 2022
acad4b3
fix things
andylokandy Dec 29, 2022
3561d1b
Fix compilation.
RinChanNOWWW Dec 29, 2022
ce65008
fix default value bug
sundy-li Dec 29, 2022
9e7acb8
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 29, 2022
536a851
Merge branch 'main' into expression
sundy-li Dec 29, 2022
0dbcffc
support nullable cast to no nullable
b41sh Dec 29, 2022
644ecce
Fix format problems in unit tests.
RinChanNOWWW Dec 29, 2022
8937ce6
Fix date time in json block ut.
RinChanNOWWW Dec 29, 2022
cb7768e
add other
sundy-li Dec 29, 2022
927ec2b
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 29, 2022
a393ee9
Make clippy happy
Xuanwo Dec 29, 2022
807b4e5
add negative
sundy-li Dec 29, 2022
214005f
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 29, 2022
f0cdf18
Make taplo happy
Xuanwo Dec 29, 2022
85f79cb
fix variant function ut
b41sh Dec 29, 2022
1b1af34
fix function list
b41sh Dec 29, 2022
f56905c
Merge branch 'main' into expression
mergify[bot] Dec 30, 2022
f4a1ff2
fix display cluster key
sundy-li Dec 30, 2022
6fa50c7
Merge branch 'main' into expression
mergify[bot] Dec 30, 2022
521f8fa
chore(test): fix ut
sundy-li Dec 30, 2022
2b16055
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 30, 2022
7891751
Fix clippy and format bug.
RinChanNOWWW Dec 30, 2022
427750d
chore(test): fix rangefilter
sundy-li Dec 30, 2022
2604f70
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 30, 2022
6cfcf96
Fix sort and clippy.
RinChanNOWWW Dec 30, 2022
a04f82b
Fix format problems in unit tests.
RinChanNOWWW Dec 30, 2022
aafb526
fix set variables
b41sh Dec 30, 2022
51ffda7
Remove object type in ut.
RinChanNOWWW Dec 30, 2022
14befa2
chore(expression): add datatype
sundy-li Dec 30, 2022
e08c40c
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 30, 2022
2d1d2d8
chore(expression): fix tests
sundy-li Dec 30, 2022
b2f425b
BlockEntry should use Scalar::Null.
RinChanNOWWW Dec 30, 2022
82912bd
fix.
RinChanNOWWW Dec 30, 2022
1178db9
merge
b41sh Dec 30, 2022
01fe57c
chore(expression): fix tests
sundy-li Dec 30, 2022
945a9a3
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 30, 2022
98bbe66
Merge branch 'expression' of https://github.com/datafuselabs/databend…
sundy-li Dec 30, 2022
27cc631
Fix clippy.
RinChanNOWWW Dec 30, 2022
2120e7b
chore(expression): add function if
sundy-li Dec 30, 2022
bfc7a18
chore(expression): add lossful supertype for numbers
sundy-li Dec 30, 2022
755faff
chore(logictest): add debug arg
sundy-li Dec 30, 2022
0fb282d
add function inet_aton, inet_ntoa
b41sh Dec 31, 2022
3dcd940
chore(expression): fix literal bug
sundy-li Dec 31, 2022
d309f1e
chore(expression): fix cross join bug
sundy-li Dec 31, 2022
932970a
support cast literal value to required type
b41sh Dec 31, 2022
d7d73c9
chore(expression): fix join datatype bug
sundy-li Dec 31, 2022
2720add
chore(expression): fix join datatype bug
sundy-li Dec 31, 2022
8b2ba2e
chore(expression): fix up groupby
sundy-li Dec 31, 2022
1675b2e
merge
b41sh Dec 31, 2022
c2191a4
Merge branch 'expression' of https://github.com/datafuselabs/databend…
b41sh Dec 31, 2022
86ba37e
fix date, timestamp group by
b41sh Dec 31, 2022
595b926
chore(expression): fix join
sundy-li Dec 31, 2022
23a853c
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Dec 31, 2022
5c2ed7e
chore(expression): fix cast
sundy-li Dec 31, 2022
f9dfccd
fix join
xudong963 Dec 31, 2022
ad87866
chore(expression): add sql display
sundy-li Dec 31, 2022
2e20f4f
chore(expression): add typeof function
sundy-li Jan 1, 2023
d7ac391
chore(expression): fix print
sundy-li Jan 1, 2023
01ff67d
fix in list, number compare
b41sh Jan 1, 2023
b4cd88b
chore(expression): fix functions
sundy-li Jan 1, 2023
eae842e
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 1, 2023
74c4dbc
deprecated useless functions: elt,export_set,field,find_in_set,forma…
sundy-li Jan 1, 2023
b100fb6
migrate string function tests
sundy-li Jan 1, 2023
33c9aed
add sql_display
sundy-li Jan 2, 2023
fa7a379
add sql_display
sundy-li Jan 2, 2023
7715477
Merge branch 'main' into expression
sundy-li Jan 2, 2023
9f0da6d
add notes about auto_cast
sundy-li Jan 2, 2023
6779969
fix mode sqllogictests
b41sh Jan 2, 2023
f9306e7
fix proto conv
sundy-li Jan 2, 2023
e002643
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 2, 2023
cf89fc1
fix agg from data
sundy-li Jan 2, 2023
f621e66
allow auto cast from string to date and timestamp
andylokandy Jan 2, 2023
bd76289
meta version reader
sundy-li Jan 2, 2023
8e66f94
fixup agg window funnel
sundy-li Jan 2, 2023
1bf8c76
Fix system.processes and fix clippy.
RinChanNOWWW Jan 2, 2023
e8871c4
fix datetime function
andylokandy Jan 2, 2023
6ce0699
remove libz-ng
sundy-li Jan 2, 2023
5b21145
fix cluster mode sqllogictests
b41sh Jan 2, 2023
a11bec5
add new trait FromData
sundy-li Jan 3, 2023
235696e
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 3, 2023
c1cee3b
Fix sort varaint.
RinChanNOWWW Jan 3, 2023
3c11f9c
refine from_data
sundy-li Jan 3, 2023
17f3786
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 3, 2023
ce0b7e3
add other func running_difference
TCeason Jan 2, 2023
54c5f99
delete unused uuid functions
sundy-li Jan 3, 2023
f808fcd
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 3, 2023
abeca66
fix subquery
xudong963 Jan 3, 2023
1347f30
add uuid func
TCeason Jan 3, 2023
b802f86
Use FromData trait.
RinChanNOWWW Jan 3, 2023
6fc2d82
fixup agg approx_count_distinct
sundy-li Jan 3, 2023
7484d98
fix uuid func bug
TCeason Jan 3, 2023
0404edc
fix single join
xudong963 Jan 3, 2023
e744301
fixup tsv deser
sundy-li Jan 3, 2023
fb4e623
Fix some table functions and test sqls.
RinChanNOWWW Jan 3, 2023
c711eda
Fix is_null.
RinChanNOWWW Jan 3, 2023
fdd00cf
fix tz
sundy-li Jan 3, 2023
fa9267d
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 3, 2023
611238f
add variant cast functions
b41sh Jan 3, 2023
4c5c946
add auto_cast_signatures in FunctionRegistry
sundy-li Jan 3, 2023
051704e
fix join
xudong963 Jan 3, 2023
69e55ab
fix try_cast_toself
sundy-li Jan 3, 2023
0ef5202
fix bloom filter expr
sundy-li Jan 3, 2023
fc8aa74
fix filter push down join
xudong963 Jan 3, 2023
bb8112c
support variant compare
b41sh Jan 3, 2023
e43411d
Fix array.
RinChanNOWWW Jan 3, 2023
5bb47c0
domain respect data_type
sundy-li Jan 3, 2023
47af2e1
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 3, 2023
d0b2e9a
reset 02_0046_function_logic
sundy-li Jan 3, 2023
722ca9a
fixs
sundy-li Jan 3, 2023
99aa5b3
fix functions
b41sh Jan 3, 2023
6cb794c
Merge branch 'main' of https://github.com/datafuselabs/databend into …
RinChanNOWWW Jan 4, 2023
2c51d09
Fix compile after merge.
RinChanNOWWW Jan 4, 2023
ff88259
Fix hive.
RinChanNOWWW Jan 4, 2023
1d46e1a
support parse_json bool, int
b41sh Jan 4, 2023
ddd4b9b
add rule_push_down_limit_expression
sundy-li Jan 4, 2023
18fb8c7
fix function test
TCeason Jan 3, 2023
9bd7a42
fix tests
sundy-li Jan 4, 2023
4de80a5
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 4, 2023
6744ca2
update register_casting_rules to oneplace
sundy-li Jan 4, 2023
5e08e53
fixup union all schema
sundy-li Jan 4, 2023
c5e8ea5
Fix delete, to_nullable(null).
RinChanNOWWW Jan 4, 2023
92e78c1
fix variant match function cast
b41sh Jan 4, 2023
ce253c1
Merge branch 'expression' of https://github.com/datafuselabs/databend…
b41sh Jan 4, 2023
05fa049
disable outer to inner join rule
xudong963 Jan 4, 2023
91971a7
Fix test results.
RinChanNOWWW Jan 4, 2023
f55312d
Fix insert default.
RinChanNOWWW Jan 4, 2023
82de197
fix datetimes test
TCeason Jan 4, 2023
be3eebc
add arg
sundy-li Jan 4, 2023
e691a8c
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 4, 2023
f9c63f5
fix variant column concat
b41sh Jan 4, 2023
eb0a5fa
fix count if
sundy-li Jan 4, 2023
5f97d6f
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 4, 2023
58300c7
fix some compare test
TCeason Jan 4, 2023
3045f60
Merge remote-tracking branch 'origin/main' into expression
leiysky Jan 4, 2023
4fbe0e0
Fix create table as select.
RinChanNOWWW Jan 4, 2023
6fa61b6
fix build
leiysky Jan 4, 2023
6f51d8d
Merge branch 'expression' of https://github.com/datafuselabs/databend…
leiysky Jan 4, 2023
6253c7d
modify regexp_instr test
TCeason Jan 4, 2023
013ea67
Fix show create table.
RinChanNOWWW Jan 4, 2023
f58d9bd
fix bug
xudong963 Jan 4, 2023
4061704
fix set validity
sundy-li Jan 4, 2023
102798c
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 4, 2023
52b2c25
impl comparison on Array
andylokandy Jan 4, 2023
947a45b
fix scalar subquery
xudong963 Jan 4, 2023
acfde9a
update
sundy-li Jan 4, 2023
574295b
Merge branch 'main' into expression
sundy-li Jan 4, 2023
e4c5d68
merge json
sundy-li Jan 4, 2023
0930deb
fix comparision
andylokandy Jan 4, 2023
ee3ac98
fix hive
sundy-li Jan 5, 2023
c251de5
fix hive
sundy-li Jan 5, 2023
2020035
fix hive
sundy-li Jan 5, 2023
b71ba81
Fix deletion.
RinChanNOWWW Jan 5, 2023
db3cf96
fix recluster
sundy-li Jan 5, 2023
8af27fe
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 5, 2023
f73d4a2
fix recluster
sundy-li Jan 5, 2023
1051721
Remove empty file.
RinChanNOWWW Jan 5, 2023
b10df39
fix read tuple inner field
b41sh Jan 5, 2023
fe41b53
fix bloom filter
sundy-li Jan 5, 2023
f892cc1
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 5, 2023
a3a304d
Fix filter in read_parquet and add from arrow list type.
RinChanNOWWW Jan 5, 2023
03030f6
Merge branch 'main' of https://github.com/datafuselabs/databend into …
RinChanNOWWW Jan 5, 2023
e158bc1
fix HashFlightScatter multiple scalars
TCeason Jan 5, 2023
2e6345d
add run_auto_nullable
sundy-li Jan 5, 2023
884b452
fix scatter
sundy-li Jan 5, 2023
ebf91c5
recover scripts test
TCeason Jan 5, 2023
da441ab
mpp
sundy-li Jan 5, 2023
9b5e048
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 5, 2023
c456ccb
Fix clippy.
RinChanNOWWW Jan 5, 2023
77f29b3
fix cast null
sundy-li Jan 5, 2023
886f237
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 5, 2023
06398bf
add range ext to check overlap
sundy-li Jan 5, 2023
d4a682e
chore: add codegen-units
PsiACE Jan 5, 2023
c04bbde
fix parallel sql logical http
TCeason Jan 5, 2023
cb8698a
Fix test.
RinChanNOWWW Jan 5, 2023
76ed525
fix sqllogictests mode explain test
b41sh Jan 5, 2023
1d1a3cc
fix base test:show create tabel not match
TCeason Jan 5, 2023
d1f66f4
Fix clippy and test results.
RinChanNOWWW Jan 5, 2023
e5faf8f
Merge branch 'main' of https://github.com/datafuselabs/databend into …
RinChanNOWWW Jan 5, 2023
932dd96
Fix test results of common-functions-v2.
RinChanNOWWW Jan 5, 2023
e196119
fix try cast error
sundy-li Jan 5, 2023
5d2d613
Merge branch 'expression' of github.com:datafuselabs/databend into ex…
sundy-li Jan 5, 2023
fd3176f
impl comparison for tuple
andylokandy Jan 5, 2023
99e596e
improve column from
sundy-li Jan 5, 2023
ce3f940
Merge pull request #9469 from PsiACE/expression
Xuanwo Jan 5, 2023
8e04f6d
fix hive
sundy-li Jan 5, 2023
04e26b0
fix format
sundy-li Jan 5, 2023
c8be942
fix range filter null statistics
b41sh Jan 5, 2023
22081b7
fix error code
sundy-li Jan 5, 2023
4e6d8ff
fix error code
sundy-li Jan 5, 2023
6709feb
desugar all negative functions at binder
andylokandy Jan 5, 2023
8239bed
Revert "desugar all negative functions at binder"
andylokandy Jan 5, 2023
71f8e17
Fix test results.
RinChanNOWWW Jan 6, 2023
9142c76
Merge branch 'main' into expression
sundy-li Jan 6, 2023
6cb775a
fix tests
sundy-li Jan 6, 2023
7f0869a
Fix scatter on tuple.
RinChanNOWWW Jan 6, 2023
1e71618
fix tests
sundy-li Jan 6, 2023
b8344c4
fix tests
sundy-li Jan 6, 2023
81d9a82
fix right anti join
xudong963 Jan 6, 2023
3294eaa
delete #
xudong963 Jan 6, 2023
dc8e2c2
delete log
xudong963 Jan 6, 2023
cf2678a
Merge branch 'main' into expression
sundy-li Jan 6, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1,280 changes: 617 additions & 663 deletions Cargo.lock

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions docs/doc/15-sql-functions/120-other-functions/to_nullable.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,6 @@ select to_nullable(3);
+----------------+
```

```sql
select to_nullable(null);

+-------------------+
| to_nullable(NULL) |
+-------------------+
| NULL |
+-------------------+
```




Expand Down
42 changes: 0 additions & 42 deletions docs/doc/15-sql-functions/40-string-functions/elt.md

This file was deleted.

48 changes: 0 additions & 48 deletions docs/doc/15-sql-functions/40-string-functions/export_set.md

This file was deleted.

41 changes: 0 additions & 41 deletions docs/doc/15-sql-functions/40-string-functions/field.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/doc/15-sql-functions/40-string-functions/find_in_set.md

This file was deleted.

49 changes: 0 additions & 49 deletions docs/doc/15-sql-functions/40-string-functions/format.md

This file was deleted.

43 changes: 0 additions & 43 deletions docs/doc/15-sql-functions/40-string-functions/substring_index.md

This file was deleted.

4 changes: 2 additions & 2 deletions docs/doc/15-sql-functions/60-conversion-functions/try_cast.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ SELECT try_cast('abc' AS INT UNSIGNED);

SELECT typeof(try_cast('abc' AS INT UNSIGNED));
+-----------------------------------+
| typeof(try_cast('abc' as UInt32)) |
| typeof(try_cast('abc' as uint32)) |
+-----------------------------------+
| INT UNSIGNED |
| INT UNSIGNED NULL |
+-----------------------------------+
```
7 changes: 0 additions & 7 deletions docs/doc/15-sql-functions/70-hash-functions/city64withseed.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,4 @@ SELECT City64WithSeed('1234567890', 12);
| 10660895976650300430 |
+----------------------------------+

SELECT City64WithSeed('1234567890', 12.12);
+-------------------------------------+
| City64WithSeed('1234567890', 12.12) |
+-------------------------------------+
| 10660895976650300430 |
+-------------------------------------+

```
26 changes: 0 additions & 26 deletions docs/doc/15-sql-functions/80-uuid-functions/gen-zero-uuid.md

This file was deleted.

39 changes: 0 additions & 39 deletions docs/doc/15-sql-functions/80-uuid-functions/is-empty-uuid.md

This file was deleted.

Loading