|
|
462a53f79a
|
expression: utilize the flag of column arguments to simplify expressions (#20149)
|
2020-10-09 14:43:11 +08:00 |
|
|
|
a7f9d7a67a
|
expression: fix data too long when convert to bit returns null value (#20241)
|
2020-10-09 14:20:10 +08:00 |
|
|
|
2f8092ea84
|
expression: fix a bug that the coercibilities of enum and set are wrong (#20274)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2020-10-09 14:01:39 +08:00 |
|
|
|
80f3c9e836
|
expression: unset binary flag for *_bin collation column (#20269)
|
2020-10-04 11:01:10 +08:00 |
|
|
|
1d34c333f4
|
expression: avoid constant propagate for the hybrid types (#20258)
|
2020-09-29 16:11:32 +08:00 |
|
|
|
5eaaa5c649
|
expression: fix a bug that from_unixtime + union all returns truncated result (#20225)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2020-09-27 12:39:38 +08:00 |
|
|
|
4ff2f926e2
|
executor, expression: set the evalType of hybrid type as ETInt in VecEvalBool (#20221)
|
2020-09-27 11:31:16 +08:00 |
|
|
|
47a182f76a
|
executor: fix a bug that the generated column doesn't handle bad null value (#20193)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
|
2020-09-25 15:57:36 +08:00 |
|
|
|
aceecf0732
|
executor: support new aggregate funtion APPROX_PERCENTILE (#19799)
Signed-off-by: leiysky <leiysky@outlook.com>
|
2020-09-24 15:59:38 +08:00 |
|
|
|
fd0299f58e
|
*: remove simple rewriter (#19828)
|
2020-09-23 12:17:53 +08:00 |
|
|
|
462927bf31
|
types: fix datetime lower part overflow check (#19822)
|
2020-09-22 19:30:08 +08:00 |
|
|
|
e880cae491
|
planner: reimplement DEFAULT function to make the behavior consistent with MySQL when looking up the corresponding column (#19709)
|
2020-09-18 19:40:12 +08:00 |
|
|
|
9876de8961
|
planner: disable SQL_CALC_FOUND_ROWS/LOCK IN SHARE MODE by default (#19506)
|
2020-09-18 19:18:37 +08:00 |
|
|
|
7948c125ac
|
expression: Short cut expr vec bug (#19775)
|
2020-09-18 12:19:52 +08:00 |
|
|
|
f9e5a92857
|
expression: use %q replace \"%s\" (#20043)
|
2020-09-17 19:43:38 +08:00 |
|
|
|
73e03c75e6
|
ddl: check constraint when alter enum/set type column (#19806)
|
2020-09-17 09:52:14 +08:00 |
|
|
|
205c40186a
|
*: support aggregate function stddev_samp() and var_samp() (#19810)
Co-authored-by: Zhuomin(Charming) Liu <lzmhhh123@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-16 17:44:41 +08:00 |
|
|
|
03ca22b14a
|
expression: consider time zone convert when running from_unixtime test (#19963)
Signed-off-by: wangggong <793160615@qq.com>
|
2020-09-14 11:02:39 +08:00 |
|
|
|
ab00d56628
|
support round function push down to TiFlash (#19616)
|
2020-09-11 12:46:29 +08:00 |
|
|
|
c7a836b609
|
ddl: support create table with expression index (#18125)
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* add
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* save
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* Update ddl/ddl_api.go
Co-authored-by: Lynn <zimu_xia@126.com>
* 2
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* done
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
* fix
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
Co-authored-by: Lynn <zimu_xia@126.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-10 15:26:15 +08:00 |
|
|
|
c022fdcaeb
|
expression: avoid unnecessary warnings/errors when folding constants in control expr (#19675)
* reduce unnecessary warnings/errors in constrant fold
* update formate
* add commits
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-09 20:08:50 +08:00 |
|
|
|
0c36203f1d
|
expression: add new scalar function IsTruthWithNull (#19621)
|
2020-09-09 16:03:10 +08:00 |
|
|
|
bc3c84afb2
|
ddl: add partition should not take table information (#19671)
|
2020-09-08 21:33:53 +08:00 |
|
|
|
449587a085
|
*: using standard error to replace terror (#19425)
|
2020-09-08 20:15:51 +08:00 |
|
|
|
0e26d40948
|
distsql: fix wrong default max allowed packet (#19573)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-08 15:35:53 +08:00 |
|
|
|
15432287cc
|
expression: incorporate unicode_ci into constant propagation (#19555)
* handle constant propagation
* fmt
* uncomment
Co-authored-by: wjHuang <huangwenjun1997@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Zhang Jian <zjsariel@gmail.com>
|
2020-09-04 17:03:29 +08:00 |
|
|
|
5b26588eba
|
expression: add linear search for the interval function (#19543)
* add linear search for interval
* update test
* remove debug info
* fix mistakenly erased code
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-04 12:07:32 +08:00 |
|
|
|
60172ca621
|
ddl: trim enum and set trailing spaces automatically (#19612)
* add test
* check tidy
* change parser
* change parser
* update parser
* update parser
* fix check
Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: Zhang Jian <zjsariel@gmail.com>
|
2020-09-04 08:40:21 +08:00 |
|
|
|
ebb5573869
|
expression: remove the ambiguous error message of unix_time ... (#19707)
|
2020-09-03 23:53:08 +08:00 |
|
|
|
9c344ce66e
|
types: fix bug of converting enum and set (#19699)
|
2020-09-03 23:43:49 +08:00 |
|
|
|
0338bce029
|
expression: fix unmatched column lengths errors caused by builtinGreatestStringSig and builtinLeastStringSig (#19754)
|
2020-09-03 16:22:43 +08:00 |
|
|
|
b6ae01ac61
|
*: make 'cast' get the correct charset and collate (#15146)
|
2020-09-03 15:23:21 +08:00 |
|
|
|
d8b3d329cd
|
expression: fallback vectorized control expressions (#19367)
* fallback vectorized branch statements
* update test
* add notes
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-03 11:15:23 +08:00 |
|
|
|
63998c1747
|
expression: fix NaN for vec expression (#19482)
* fix NaN for vec expression
* update test
* check result null
* check result null
* Update mydecimal.go
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: goroutine <ngaut@users.noreply.github.com>
Co-authored-by: Zhang Jian <zjsariel@gmail.com>
|
2020-09-02 09:42:30 +08:00 |
|
|
|
853e0b4929
|
expression: fix errors in Apply when the type of correlation column is bit (#19331)
* fix apply panic
* fixup
* fix CI
* fix CI
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-09-02 09:20:32 +08:00 |
|
|
|
1cab3d5947
|
*: fix bug of same type plans with different plan digest (#19519)
|
2020-09-01 21:55:20 +08:00 |
|
|
|
9c2d7c2663
|
expression: allow function coercibility derive to DERIVATIO ... (#19462)
|
2020-09-01 21:46:41 +08:00 |
|
|
|
9047a9c881
|
executor: fix wrong behavior for max/min on ENUM/SET column (#19552)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
Co-authored-by: Yiding Cui <winoros@gmail.com>
|
2020-09-01 21:18:03 +08:00 |
|
|
|
7690e292c1
|
expression: fix incorrect implementation in builtinRealIsFalseSig (#19658)
* fixup
* fixup
|
2020-09-01 19:58:24 +08:00 |
|
|
|
27ea908a5e
|
planner: reset not null flag when Apply convert to Join (#19567)
|
2020-08-31 23:24:04 +08:00 |
|
|
|
438945d294
|
*: enable clustered index by default (#19582)
|
2020-08-31 16:54:51 +08:00 |
|
|
|
64d3fb8f37
|
Revert "fix wrong flen in cast functions (#19020)" (#19606)
This reverts commit a363130f4e7277dbb027ce1e1e66e953e59ff416.
|
2020-08-31 13:20:29 +08:00 |
|
|
|
a363130f4e
|
fix wrong flen in cast functions (#19020)
|
2020-08-30 17:07:27 +08:00 |
|
|
|
844c114d10
|
expression: bug fix for vectorized casting real as time (#19485)
|
2020-08-29 22:51:31 +08:00 |
|
|
|
117b3e4400
|
plan, partition: re-implement hash partition pruning to support in and or and some other functions (#18574)
|
2020-08-28 17:14:42 +08:00 |
|
|
|
ba60cf5a69
|
charset: implement utf8_unicode_ci and utf8mb4_unicode_ci collation (#18776)
|
2020-08-27 23:20:48 +08:00 |
|
|
|
49af6a511f
|
expression: Support stddev_pop function (#19195)
* add stddev_pop function
* fix for make check
* not push down
* add util test
* stddevpop inherit from varpop
* fix typo
* support std and stddev
* update go.mod
* uodate parser master
* fix ditto
* fix fix
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-08-27 19:42:53 +08:00 |
|
|
|
15ff461530
|
expression: set correct collation in InferType4ControlFuncs (#19483)
|
2020-08-27 16:52:55 +08:00 |
|
|
|
945f7cc4a0
|
ddl, tables: support the column type change between the integer types (#19059)
|
2020-08-26 21:30:14 +08:00 |
|
|
|
d355b82f1c
|
expression: unicode_ci support when infer collation and charset information (#19142)
* add mix unicode_ci collation support
* comments change
* bug fix
* add test
* refactor illegal mix collation message
* fmt
* fix check
* fmt
* refactor infer collation
* refactor infer collation
* add charset info
* address comments
* return bin if something wrong
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
|
2020-08-26 11:08:21 +08:00 |
|