64f34345d9
parser: forbid invalid column name for analyze columns ( #29567 )
2021-11-12 02:57:06 +08:00
17edc5758f
parser: add ANALYZE TABLE t ALL COLUMNS syntax ( #29361 )
2021-11-10 18:17:05 +08:00
b332a085a3
parser: add new analyze option SAMPLERATE ( #28961 )
2021-10-25 16:04:48 +08:00
fce1a03e40
parser: analyze predicate/user-specified columns and show column_stats_usage ( #28846 )
2021-10-18 16:52:43 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +08:00
a27471d6df
[parser] statistics: introduce a new kind of syntax to drop global-stats #1181
2021-10-09 14:53:23 +08:00
747a99dd53
[parser] add the new stmt: drop stats partition ( #1177 )
2021-10-09 14:53:23 +08:00
f42586fcd3
[parser] feat: add "HISTOGRAM" option in "ALTER TABLE... UPDATE/DROP..." ( #925 )
2021-10-09 14:53:23 +08:00
2dbf28d553
[parser] fix: correct file permission ( #918 )
...
Commit 334dfef16055ffaf9c704b7ad25ce7540cb6ce38 changed several files into
executables. Commit f6e17887c998e7c7d460bfabb198ed5f53dd22a2 reverted the
permission of parser_test.go from 755 to 644, but missed all other
files. Later go.mod1/go.sum1 are removed. This commit fixed the
permission of remaining affected files.
2021-10-09 14:53:23 +08:00
6eb2909901
[parser] change all dot import, according to staticcheck ( #730 )
...
* change all dot import, according to staticcheck
* make staticcheck happy
2021-10-09 14:53:23 +08:00
6d183e6d75
[parser] parser: support analyze options for samples ( #440 )
2021-10-09 14:53:23 +08:00
9132b83cd8
[parser] parser: support more analyze options ( #388 )
2021-10-09 14:53:23 +08:00
a7d5fa8f30
[parser] parser: support incremental analyze ( #282 )
2021-10-09 14:53:23 +08:00
779495f792
[parser] parser: change the location of RestoreCtx ( #157 )
2021-10-09 14:53:23 +08:00
999d8a9573
[parser] parser: implement Restore for BeginStmt,CommitStmt,RollbackStmt, AnalyzeTableStmt and LoadStatsStmt ( #144 )
2021-10-09 14:53:23 +08:00
a8463b6756
[parser] parser: implement Restore for DropStatsStmt ( #97 )
2021-10-09 14:53:23 +08:00
3d7841959f
[parser] parser: add RestoreCtx and change the Node interface ( #78 )
2021-10-09 14:53:23 +08:00
8a205ccc0a
[parser] *: support AST to SQL text ( #56 )
...
* ast2sql demo
* add SQLSentence
* mock func Restore
* change copyright
* add comment
* add test
* change tidb dependentment
* fix error comment
* use strings.Builder
* fix test
* add error return value for Recoverable
* add error return value for Recoverable
* add error return value for Recoverable
* impl Restore of UnaryOperationExpr
* integrate utils
* switch tidb dependency
* add comment
* add comment
* update unit test
* fix Restore of DatabaseOption
* fix Restore of DatabaseOption
* fix Restore of DatabaseOption
* update unit test
* use errorf
2021-10-09 14:53:23 +08:00
c270f55405
[parser] *: move github.com/pingcap/tidb/parser here ( #1 )
2021-10-09 14:53:23 +08:00