Commit Graph

54 Commits

Author SHA1 Message Date
1685a714d4 expression: set correct json storage size (#37661)
close pingcap/tidb#37307
2022-09-09 16:16:56 +08:00
170dafc7e1 types: merge json and types pkg (#37578)
close pingcap/tidb#37577, close pingcap/tidb#37628
2022-09-05 19:42:55 +08:00
d46da50ca8 expression: use a relax json comparison cast rule (#37404)
close pingcap/tidb#37403
2022-08-31 16:24:24 +08:00
c16291392a *: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse (#34494)
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
1bf64c60f4 *: Refactor FieldType structure (#33569)
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
93d44e253f expression: fix querying cluster tables reports regexp is not supported (#33052)
close pingcap/tidb#32783
2022-03-16 15:59:52 +08:00
3738dec53e *: enable the new collation by default (#32016)
ref pingcap/tidb#32015
2022-02-08 12:53:35 +08:00
e7da7d4f95 *: change fsp from int8 to int (#28347) 2022-01-27 13:59:12 +08:00
1e5e86920d test: merge serial tests in bindinfo, expression, parser and statistics (#30749) 2021-12-16 18:40:37 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
d9ef107d39 *: replace compareDatum by compare, PR 11 (#30465) 2021-12-09 12:47:56 +08:00
8b028b899d *: replace compareDatum by compare (#30060) 2021-11-23 17:49:50 +08:00
318030adef expression: migrate tests to testify (#29276) 2021-11-02 23:16:52 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
bd2553734b expression: support enum pushdown (#22686) 2021-04-26 18:51:56 +08:00
28c9e9290b *: gocritic fixes for commentFormatting (#21578) 2020-12-09 12:03:17 +08:00
f1c464a86a collation: add utf8mb4_zh_pinyin_tidb_as_cs collation interface (#20504) 2020-11-03 11:35:39 +08:00
b642045ff2 charset: add utf8_unicode_ci and utf8mb4_unicode_ci interface (#18678)
* add unicode_ci interface

* fix build

* fix check

* fix test

* change comments

* add test

* Update util/collate/unicode_ci.go

Co-authored-by: djshow832 <zhangming@pingcap.com>

Co-authored-by: djshow832 <zhangming@pingcap.com>
Co-authored-by: Yuanjia Zhang <zhangyuanjia@pingcap.com>
Co-authored-by: djshow832 <873581766@qq.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-24 17:16:03 +08:00
f58d9ffc65 *: add builtin function json_storage_size (#15248) 2020-03-15 10:00:23 +08:00
0daca24dc3 expression: set collation id to negative in tipb if new collations are enabled (#14883) 2020-02-26 10:07:15 +08:00
eb12799152 *: Collation should be set accordingly when setting string datum (#14757) 2020-02-20 23:01:53 +08:00
2a4bd928ed expression: add setPbCode for LeftShift (#13443) 2019-12-28 20:46:39 +08:00
4b830aa7f6 *: Remove unused code (#13674) 2019-11-22 11:37:07 +08:00
5c521c8e43 executor: vectorized calculation the key for the group by items in hash aggregation (#12729) 2019-11-12 17:00:00 +08:00
e2b1f7eff8 expression: change the String() method of expression.Column (#12089) 2019-09-16 14:30:22 +08:00
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
ae58fd01f1 expression: improve UT coverage of expression package to 80% (#10641) 2019-05-30 11:05:22 +08:00
a594287e9f expression/json: add builtin function JSON_SEARCH (#8704) 2019-04-18 19:48:01 +08:00
ba26012231 expression: using pingcap/log and unify the log format (#9507) 2019-03-14 19:05:27 +08:00
1f46efe156 expression: add builtin function JSON_DEPTH (#8347) 2018-11-26 20:25:59 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
87c54b2610 plan, statistics: maintain HistColl in DataSource's StatsInfo (#7385) 2018-08-31 01:14:43 +08:00
f4f1692fd1 *: remove FromID from expression.Column (#7157) 2018-07-30 11:06:02 +08:00
3299f860ff *: use chunk.Row instead of types.DatumRow in test files (#7139) 2018-07-24 21:45:33 +08:00
8a326cae76 expression, util: handle err instead of panic in EncodeDecimal (#6758) 2018-06-05 19:38:30 +08:00
357d5df66b remove useless alias (#6473) 2018-05-05 22:36:54 +08:00
5725b43c83 *: remove useless ExprType (#6313) 2018-04-18 18:56:43 +08:00
0553deeb42 *:improve code readability and unified aliases (#5997) 2018-03-15 10:52:36 +08:00
4dd1fc208d codec, expression: support encoding a Chunk row (#5578) 2018-01-11 20:29:31 +08:00
8b15cb52b7 *: move StatementContext to its own package. (#5177) 2017-11-22 00:11:14 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
ed7f68ca9b *: Add Row interface (#4859) 2017-10-23 11:36:28 +08:00
6f84392d40 *: optimize SortExec (#4622)
* *: change key of orderByRow from "key []types.Datum" to "key []*types.Datum"

* address comment
2017-09-25 19:50:26 +08:00
45bdd69cde *: support signature push down. (#4495) 2017-09-25 18:58:42 +08:00
b23901b187 *: rewrite function IN to DNF (#4174) 2017-08-15 14:28:43 +08:00
c301d9c929 expression: rewrite builtin function: ISNULL (#4127) 2017-08-10 17:17:42 +08:00
917b65c4a2 *: pass column index to kv store. (#3280) 2017-05-17 13:26:12 +08:00
33c2262b9e *: assign RetType for Constant/Column (#3201) 2017-05-05 12:01:01 +08:00