895b4e0f12
*: replace mathutil.Max/Min with built-in max/min ( #47700 )
...
ref pingcap/tidb#45933
2023-10-17 07:22:59 +00:00
318e82bbb7
*: move most of the packages to 'pkg' ( #47123 )
...
ref pingcap/tidb#41241
2023-10-13 14:36:26 +00:00
dcd4667ae9
*: use std/slices to replace exp/slices ( #46221 )
...
ref pingcap/tidb#45933
2023-08-18 09:12:32 +00:00
6122ca307e
linter: support lll to avoid too long line ( #42718 )
...
close pingcap/tidb#42570
2023-04-12 23:23:01 +08:00
1da60a3ce4
executor: check error message and refine LOAD DATA logic ( #41640 )
...
ref pingcap/tidb#40499
2023-02-28 21:19:09 +08:00
90412c432a
lightning/parser: add more options to support LOAD DATA ( #41573 )
...
ref pingcap/tidb#41543
2023-02-20 22:51:05 +08:00
9e120b68ce
executor: implement NULL DEFINED BY for LOAD DATA ( #41541 )
...
ref pingcap/tidb#40499
2023-02-20 20:43:05 +08:00
d161aa6e45
executor: LOAD DATA use lightning CSV parser ( #40852 )
...
ref pingcap/tidb#40499
2023-02-16 19:22:02 +08:00
55c83585d2
lighting/parser: align NULL and ESCAPED BY with LOAD DATA ( #40909 )
...
ref pingcap/tidb#40499
2023-02-13 23:10:01 +08:00
37fce43abd
lightning: introduce param to skip CSV header parsing ( #41128 )
...
close pingcap/tidb#40839
2023-02-09 00:03:58 +08:00
17d70c1b7e
lightning/parser: support STARTING BY ( #40821 )
...
ref pingcap/tidb#40499
2023-01-30 11:23:54 +08:00
fb29c807ce
lightning: fix risk of OOM ( #40443 )
...
* fix: check buf size
* fix: terminate too long buf
* add ut
* fix dev
* local var
* fix ut
* fix lint
* fix lint
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2023-01-12 13:48:33 +08:00
eef8438e14
lightning: not set pos to end if fail to ReadUntil ( #40232 )
...
* fix: not set pos to end
* add it
* fix: return to prevPos
* fix: return err
* fix
* fix
* fix it
* fix
* fix: not exit when err
Co-authored-by: Zak Zhao <57036248+joccau@users.noreply.github.com >
2023-01-12 12:20:33 +08:00
4e519709e7
lightning: refine error message for empty schema file ( #37572 )
...
close pingcap/tidb#37571
2022-09-03 09:28:25 +08:00
38ac1981d6
lightning: allow caller to set a logger ( #35528 )
...
close pingcap/tidb#35556
2022-06-22 10:58:36 +08:00
ea197d4859
lightning: support custom promethues factory and registry ( #35127 )
...
ref pingcap/tidb#34948
2022-06-13 13:48:32 +08:00
f88dab92f9
util: use generics to implement max/min ( #34197 )
...
close pingcap/tidb#34247
2022-05-06 10:08:57 +08:00
50520e3985
lint: fix lint errors in pkg br. ( #31041 )
...
close pingcap/tidb#31358
2022-01-06 10:54:36 +08:00
d582bfe7b7
Lightning: support charset conversion from GBK to UTF-8 for the CSV file ( #27311 )
2021-09-03 16:28:57 +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
a7fdc2a056
BR: update br keep upstream ( #26972 )
2021-08-09 06:11:13 +08:00
1a54708a7f
*: merge BR into TiDB ( #26655 )
2021-08-06 00:17:12 +08:00