Commit Graph

7902 Commits

Author SHA1 Message Date
syj
f0a5857da8 Fixed syntax error when 'IF EXISTS' is used in 'ALTER POLICY [IF EXISTS] old_name ON table_a RENAME TO new_name' 2020-10-21 20:11:19 +08:00
2e9ea4e5f1 Fix server stuck due to incorrect ereport log level in MOT 2020-10-21 19:28:25 +08:00
dc80b79cc0 修复了关于rownum的4个bug。
1.最大值只有255,正常应该是无限大。
2.group by跟where rownum < n同时存在时,禁止将rownum优化成limit
3.groupy by后面没有rownum,而having后面有rownum时,会正常运行,正常应该报错。
4.union前后的子句如果有where rownum < n,并且还有含有order by的子查询时,禁止将order by优化删除掉。
2020-10-21 18:41:59 +08:00
6667e85f17 2020-10-21 16:35:51 +08:00
14513c5dad 开放line类型 2020-10-21 16:29:35 +08:00
f0c9d88846 !314 New feature: Index-advisor for single query.
Merge pull request !314 from wangtq/index-advisor
2020-10-20 17:22:11 +08:00
11d8884c04 new feature: index-advisor for single query. 2020-10-20 15:04:58 +08:00
a2c678946b !312 fix anonymouns block:关闭autocommit后,没有declare的匿名块仍然可以自动提交
Merge pull request !312 from jun/dev
2020-10-19 16:09:02 +08:00
515a660f12 !313 gs_probackup的help信息与资料对齐以及处理安全编译问题
Merge pull request !313 from yukai_k/master
2020-10-19 16:08:07 +08:00
aa5909de18 1. gs_probackup help信息与资料对齐
2. gs_probackup 和 makesgml安全编译修改
2020-10-19 14:38:34 +08:00
7d2f5adb46 !310 Fix issue #<I1YMZY>: Compiling error.
Merge pull request !310 from wangtq/master
2020-10-19 11:20:24 +08:00
990cb7d463 !311 解决sqlsmith测试中出现的core问题
Merge pull request !311 from 徐鲲鹏/master
2020-10-19 11:19:40 +08:00
2134c2bab6 fix anonymouns block:关闭autocommit后,没有declare的匿名块仍然可以自动提交 2020-10-19 10:47:35 +08:00
7b3a11cb1a 增加sqlsmith测试样例 2020-10-17 11:33:53 +08:00
3fef364224 增加test_sqlsmith的测试结果 2020-10-17 10:28:45 +08:00
35b648b91c 增加sqlsmith产生的随机sql语句
测试create_append_plan函数的修改后的处理流程
2020-10-17 10:28:04 +08:00
0d6450de27 update src/gausskernel/optimizer/plan/createplan.cpp.
修改create_append_plan函数中对 path为subquery且bestpath->subpaths为空 的情况的处理
参考Gaussdb和Postgres中处理方式,将原有的断言修改为if判断。
当出现上述情况是判断subplan为dummy plan,是则继续执行make_subqueryscan;反之则执行make_result.
2020-10-17 10:25:47 +08:00
a783d32bfb Fixed compiling error (sign-compare) for misc.cpp. 2020-10-16 19:49:11 +08:00
7ba82481a4 !292 Failed to write trace buffer when buffer is big
Merge pull request !292 from jun/dev
2020-10-16 16:21:53 +08:00
76832e18cc !309 parallel search: hash join outer support
Merge pull request !309 from 吴岳川/master
2020-10-16 15:12:00 +08:00
9bde434409 !303 修复gs_checkos bug
Merge pull request !303 from scarbor_fair/master
2020-10-16 10:53:37 +08:00
a9287762d2 parallel search: hashjoin outer support 2020-10-16 10:29:16 +08:00
3106449ed3 !306 修复gs_probackup指定表空间外部目录备份后无法恢复表空间目录的问题
Merge pull request !306 from yukai_k/master
2020-10-16 09:38:22 +08:00
9a119d3d9c !307 MOT bug fixes
Merge pull request !307 from Vinoth Veeraraghavan/master
2020-10-16 09:36:24 +08:00
17e320d322 Fix ForreignPath generation for parameterized IndexPath 2020-10-15 20:21:38 +08:00
d505a7fc60 Fix MOT table metadata recovery from checkpoint 2020-10-15 19:03:55 +08:00
c0f130a6ba 1. Prohibit user from setting unexposed configs in mot.conf.
2. Fix PG memory context usage in JIT.
2020-10-15 19:02:27 +08:00
f9862f9eed Fix BPCHAR behavior in MOT, added space padding for search key 2020-10-15 12:18:08 +08:00
1e6bba22a5 修复gs_probackup指定表空间外部目录备份后无法恢复表空间目录的问题 2020-10-15 10:52:42 +08:00
35112c9ef7 !305 Avoid using new connection for fetch MOT ckpt during backup
Merge pull request !305 from Vinoth Veeraraghavan/master
2020-10-14 19:49:36 +08:00
afe6eba830 Avoid using new connection for fetching MOT checkpoint in backup 2020-10-14 19:15:18 +08:00
5d7bd30844 !304 【openGauss】pldebugger adds arm download path
Merge pull request !304 from 宋清怡/master
2020-10-14 18:55:11 +08:00
28c337b157 !302 并行查询基础组件-sharedfileset
Merge pull request !302 from TotaJ/feature/parallel3
2020-10-14 18:51:34 +08:00
d26161dec7 add pldebugger arm package download path 2020-10-14 11:30:27 +08:00
cf15e17f9a !287 update version 1.0.1 and primary/standby install。
Merge pull request !287 from lihongda/master
2020-10-14 11:15:44 +08:00
2e30862bb1 !301 Fix reclamation in MOT ckpt and core dump
Merge pull request !301 from Vinoth Veeraraghavan/master
2020-10-14 08:46:09 +08:00
a362883bf9 !300 If it includes {order by}, ROWNUM can not be rewrited to LIMIT
Merge pull request !300 from 周雄佳/davidzhou
2020-10-13 20:24:38 +08:00
93425f5791 Fixes MOT concurrent updates and core dump 2020-10-13 19:03:48 +08:00
f871ba9e59 fix gs_checkos issue 2020-10-13 17:53:13 +08:00
9f91875e14 Add sharedfileset. 2020-10-13 17:38:11 +08:00
81ceea7497 Fix reclamation in MOT ckpt 2020-10-13 15:39:50 +08:00
916c0cfbe0 If it includes {order by}, ROWNUM can not be rewrited to LIMIT 2020-10-13 15:32:03 +08:00
399a957141 !299 并行查询增强
Merge pull request !299 from TotaJ/feature/parallel2
2020-10-13 14:10:46 +08:00
e3f3b3fc27 !290 修复gs_ctl和gs_guc问题
Merge pull request !290 from yukai_k/master
2020-10-13 14:07:33 +08:00
561d9a66eb !298 MOT JIT and configuration fixes
Merge pull request !298 from Vinoth Veeraraghavan/master
2020-10-12 23:16:22 +08:00
cb88f5c4f7 !294 ROWNUM logical optimization
Merge pull request !294 from 德塔贝斯/dev-master
2020-10-12 23:13:03 +08:00
9eca2b56da MOT JIT and configuration fixes 2020-10-12 22:41:00 +08:00
0e4bc14121 ROWNUM logical optimization
1. rewrite ROWNUM qual to LIMIT if possible
2. rewrite ROWNUM qual to One-Time Filter if possible
3. support optimize ROWNUM operating with constant expressions
2020-10-12 20:00:15 +08:00
519c26917e !297 MOT code cleanup
Merge pull request !297 from Vinoth Veeraraghavan/master
2020-10-12 19:10:15 +08:00
e171752f13 MOT code cleanup 2020-10-12 18:03:03 +08:00