Commit Graph

1337 Commits

Author SHA1 Message Date
e415ced76e types/json: fix an over-quoted bug in BinaryJSON.Unquote function (#11934) 2019-08-30 17:18:35 +08:00
c07fcc4a34 executor: make the projection executor support vectorized expression evaluation (#11917) 2019-08-30 13:41:05 +08:00
bdbaeb419d executor: decrease the memory usage of hashTable in HashJoinExec (#11832) 2019-08-29 14:45:52 +08:00
c59933323a expression: fix constItem() and column-pruning in order by clause (#11839) 2019-08-28 16:59:35 +08:00
932c4a7bfc expression: improve length and decimal size when a base type add/minus/multiply a decimal (#11873) 2019-08-28 13:29:05 +08:00
06342ddbe2 expression: make builtinCastIntAsInt support vectorized evaluation (#11826) 2019-08-28 12:00:35 +08:00
62f1a54680 expression: remove row-vec convertor and introduce Vectorized() to check if an expression supports vectorized evaluation explicitly (#11884) 2019-08-27 20:16:35 +08:00
4cd5d15d97 *: improve plan cache param eval and insert const (#10746) 2019-08-27 11:11:01 +08:00
b438bf21f6 expression: give the full error message when the result of calling the exp function is out of range (#11862) 2019-08-27 09:35:35 +08:00
46f1dc15f6 types: convert EOF error to ErrTruncate when parse duration (#11865)
* fix time_func

* check warnings
2019-08-26 17:36:55 +08:00
59ea7460a8 planner: PointGet don't rely on names in expression.Column (#11779) 2019-08-26 15:40:39 +08:00
236f6dcfef expression: don't use names when do patition pruning (#11858) 2019-08-26 13:53:11 +08:00
6f76bbe1f7 Introduce individual vectorized evaluation methods for each type. (#11815) 2019-08-22 10:51:25 +08:00
1805d7aa01 expression: fix DIV with decimal type (#11804) 2019-08-21 19:15:47 +08:00
e19ef45e3e expression: make Column support hybrid types when vectorized evaluation (#11803) 2019-08-21 15:00:28 +08:00
5ee0847cab expression: fix wrong result of Not/IsTrue/IsFalse functions (#10498) 2019-08-20 23:15:09 +08:00
db2f1edadc executor: support converting from vectorized evaluation to row-based evaluation (#11778) 2019-08-20 15:59:16 +08:00
096deba00b executor: introduce the column buffer allocator for vectorized evaluation (#11743) 2019-08-16 15:46:16 +08:00
8a161721f1 planner, expression: remove TblID2Handle from Schema (#11152) 2019-08-16 13:02:16 +08:00
1b13a2acb9 expression, util: add an interface Times for chunk.Column (#11742) 2019-08-15 13:00:37 +08:00
5e54680ca3 expression: make baseBuiltinFunc support converting from row-based evaluation to vectorized evaluation 2019-08-14 15:02:44 +08:00
adb3071c90 *: refine the attribute definition of types.Time and types.Dur… (#11672) 2019-08-14 11:30:40 +08:00
6d51ad33fd *: Optimize struct memory usage by adjust field order (#11629) 2019-08-13 17:20:53 +08:00
5cbb17c86b executor: add reserve methods to Column for var-length types (#11699) 2019-08-12 14:51:05 +08:00
bc4a32431f expression: remove unnecessary convertIntToUint. fix error in… (#11640) 2019-08-12 11:13:10 +08:00
ff71c0c746 expression: fix last_day incompatible with mysql (#11704) 2019-08-10 19:12:38 +08:00
9d248f56cb expression: remove fmt.Println in Constant.EvalJSON (#11694) 2019-08-09 14:46:55 +08:00
fe038642e5 *: refactor cost model formulas and constants (#10581) 2019-08-07 17:44:09 +08:00
8fac5e23ed expression: fix a bug in when comparing bit with string (#11654) 2019-08-07 16:42:10 +08:00
45790b5799 fixup (#11636) 2019-08-06 15:42:56 +08:00
050172c248 parser: support cast as real (#11564) 2019-08-05 19:38:10 +08:00
cb4b778268 expression: deduce result type for multi-argument functions like IF wrongly in some cases (#11605) 2019-08-05 19:30:10 +08:00
5f9fe27a14 expression: the quote function should treat null expr as NULL… (#11592) 2019-08-05 19:05:37 +08:00
829ba98907 expression: remove the NotNullFlag for aggregation func MAX/MIN when inferring type (#11343) 2019-08-05 17:41:40 +08:00
ddafdff8f7 expression: fix date_add func in SECOND INTERVAL (#11312) 2019-08-05 15:22:16 +08:00
3bd64ba92f planner,expression: recognize the three new expressions from pi… (#8891) 2019-08-04 14:14:01 +08:00
129c0afdc6 executor, infoschema: fix display of on update CURRENT_TIMESTAMP with decimal (#11480) 2019-08-02 16:50:10 +08:00
1c43f55f90 parser: support cast as float (#11519) 2019-08-01 14:30:07 +08:00
d54f0a2bd4 expression: add vectorized evaluation methods to Expression (#11530) 2019-08-01 13:28:23 +08:00
1c0b366295 fix ConvertJSONToInt unsigned bug (#11483) 2019-08-01 10:40:04 +08:00
ab45834fd2 fix error in ConvertJSONToInt error msg (#11493)
All tests passed, auto merged by Bot
2019-07-31 11:09:11 +08:00
768f61f52f expression: handle builtin time getInterval from Decimal\Real (#11479)
All tests passed, auto merged by Bot
2019-07-30 17:16:52 +08:00
5c07ccec3a expression: make regex binary and rlike binary be case sensitive (#11502) 2019-07-29 16:56:59 +08:00
1ae5e4ce98 parser: support cast as double (#11443) 2019-07-29 10:28:12 +08:00
5c35082f6a expression: handle builtin add_date/sub_date func overflow (#11472) 2019-07-27 18:22:21 +08:00
1e1cc1f325 types: fix string to integer cast (#11295) 2019-07-26 19:10:30 +08:00
ff0132ff34 expression, parser: add function octet_length support (#11451) 2019-07-26 14:21:15 +08:00
566c3278e3 expression: improve the compatibility with mysql when datatime is invalid. (#11445)
All tests passed, auto merged by Bot
2019-07-25 18:12:06 +08:00
dcadc0acfb types: fix uint64 overflow bug in ConvertJSONToFloat (#11355)
All tests passed, auto merged by Bot
2019-07-25 12:52:40 +08:00
c95d42a537 expression, session: handle CASE WHEN specially when folding constant during outerJoin Simplification (#11105)
Test pass, auto merge by Bot
2019-07-24 19:41:17 +08:00