Commit Graph

96 Commits

Author SHA1 Message Date
Sundar Annamalai 158b6fc355 Fail INSERT OVERWRITE on partitioned cubes. 2021-12-22 13:38:09 -05:00
Sundar Annamalai cc4c4377e4 Cast sum, count values to avg result type to get accurate decimal values. 2021-12-20 17:31:03 -05:00
Sundar Annamalai 3c50840931 Rewrite Cube TableScan output symbol with partition columns at the end of the list.
This reverts commit cb74f083ff.
2021-12-16 16:05:25 -05:00
Sundar Annamalai f6cd23a099 Optimize aggregation queries over join with StarTree Cube 2021-12-14 14:32:03 -05:00
i-robot fa9c0b606d !1315 [I4L3DN] [I4M172] [248] Fix Read Issue for Struct Data Column
Merge pull request !1315 from i-robot/pull249
2021-12-14 11:58:34 +00:00
Surya Sumanth N 24c23be12d [I4L3DN] [I4M172] [248] Fix Read Issue for Struct Data Column 2021-12-14 10:30:36 +05:30
Daniel Zhang cb74f083ff StarTree Cube: Cube Range Visitor Comparison Expression Operation Adjustment 2021-12-10 18:35:57 -05:00
Daniel Zhang 0f87b88d50 StarTree Cube: Cube Creation Processing Type Identifier Case Sensitive Adjustment for Between Operations 2021-12-09 10:38:33 -05:00
Daniel Zhang bdd3131bd7 StarTree Cube: Cube Canonicalizer Comparison Expression SymbolReference Cast Type Fix 2021-11-30 14:10:43 -05:00
mahtabahmed dbceb4c808 fixed the alter command bugs, added testAlterTableOnCube() and updated the website document 2021-11-19 15:38:52 -05:00
Sundar Annamalai 8e640a46e9 Fix StarTree Cube test failures. 2021-11-08 22:18:15 -05:00
i-robot 9105c7da73 !1205 Optimize Star Tree Performance
Merge pull request !1205 from Debasatwa/optimization-startree-performance-branch-v26
2021-11-01 14:24:40 +00:00
Debasatwa Dutta 81163123f6 commit for optimizing the star tree index
fix the isseue with grouping match

added average aggregation column

changes to support avg for group by columns match

added the changes for average

removed the avg changes

average table scan optimization

fix UTs

fix UTs

add UTs

added UTs

fix UTs

added UT

added UTs

changed the UTs

edited UTs

edited UTs

added the session startree false in UTs

changes for group by match prior to cube scan node

avg aggregator source symbol changes

segregated the unit tests

checkstyle fixes

changes for Unit Tests, lineitem table replace the nation table

UTs are divided into smaller methods

added documentation comments for test method

changed the UT tests

changes for group match

updated hetu-docs

edits the create cubes of the UTs

fixes for avg aggregation

fix uts
2021-10-29 21:45:15 -04:00
Nitin Kashyap 53efdd0651
[I4DK84] fixed incorrect codegen for BETWEEN clause while splitting expression 2021-10-25 11:28:05 +05:30
Debasatwa Dutta e987270b8a Added the fix for case senstivitiy and aggregation function issue
checkstyle fix

fix the average aggregation function issue

added unit tests

unit test fixex

fix for symbol assignments

added ut tests, removed the conditions for checking duplicate symbol in AggregationRewriteWithCube

Added UT

code clean up

changed the UT with table scan aserts

edited the UTs

fixed cube name

removed duplicates

fix UTs

edited UTs

edited UTs

edit UTs
2021-10-20 12:09:29 -04:00
Sundar Annamalai 5e080a50e2 Fix incorrect cube selection when multiple cube matches 2021-10-04 17:10:39 -04:00
i-robot 479ad1bc1c !1159 Presto Tests Test Queue Db Query Runner Setup Fix
Merge pull request !1159 from Daniel Zhang/test-queue-db-setup-fix
2021-10-01 21:01:49 +00:00
Daniel Zhang 07bbd37bb8 Presto Tests Test Queue Db Query Runner Setup Fix 2021-10-01 15:43:09 -04:00
Raghunandan 3793aa170a [maven-release-plugin] prepare for next development iteration 2021-10-01 13:13:30 +05:30
Lilian Yuan 61ee03600b Update copyright 2021-09-27 14:16:18 -07:00
i-robot 93d95d8df9 !1099 Fix for StarTree Timestamp predicate translation
Merge pull request !1099 from Debasatwa/startree-fix-branch-v12
2021-09-01 23:30:58 +00:00
Debasatwa Dutta a701e965c9 startree timestamp predicate translation fix
added the fix for timestamp with time zone and time with time zone literal for startree literal translation

unit tests added

fixed UTs
2021-09-01 18:02:53 -04:00
i-robot 9ddcacbbde !1071 OpenLooKeng on Yarn
Merge pull request !1071 from Faras Mohan Dewal/olk_on_yarn
2021-09-01 19:03:01 +00:00
i-robot 81da7c29b2 !1066 Remove redundant Project Node + Skip applying selected rules based on query pattern
Merge pull request !1066 from RajeevRastogi/plan.redproject.optiterrule
2021-08-27 04:27:10 +00:00
rajeevrastogi ea15cce9c1 project node reduction + iterative rule reduction 2021-08-26 20:01:11 +05:30
Faras Mohan Dewal d0513cc6ce Feature OpenLookeng ON YARN
Signed-off-by: fmdewal <fmdewal89@gmail.com>
2021-08-16 21:57:02 +08:00
chenpingzeng c86ec70a83 [bug] fix UT of run with jacoco failed and presto-spi ut run failed
occationally

Signed-off-by: chenpingzeng <chenpingzeng@huawei.com>
2021-08-16 10:47:02 +08:00
i-robot 0f18fb420c !998 Fix for star tree concurrent create cube issue
Merge pull request !998 from Debasatwa/star-tree-concurrent-create-cube-issue
2021-07-06 15:08:59 +00:00
Debasatwa Dutta 0d721b7a0d fix for star tree concurrent create cube issue
Added cube already exists confirmation

code clean up

Unit test fixed
2021-07-06 02:06:45 -04:00
Raghunandan ed881ae4f2 [maven-release-plugin] prepare for next development iteration 2021-06-30 11:28:55 +05:30
Sundar Annamalai 03d807338f Fix broken "Show cubes" functionality when associated table was not found. 2021-06-25 14:51:43 -04:00
Sundar Annamalai ee3728f3f4 Star Tree Create Cube - Filter property predicate must evaluate boolean type. 2021-06-23 12:37:47 -04:00
Sundar Annamalai bdd08066b4 Insert into cube rewrite > predicate properly. Also fixes Star tree index 'Internal Error' issue with execution plan cache. 2021-06-22 14:20:42 -04:00
i-robot 70960faf68 !929 Fixes CreateCube Filter predicate varchar column type mismatch error
Merge pull request !929 from sundarannamalai/create_cube_fix
2021-06-16 03:47:28 +08:00
i-robot b3ce48f4c3 !897 Enhancement of Oracle Connector--support update/delete
Merge pull request !897 from Maxiaoqi/oracle_support
2021-06-15 09:33:24 +08:00
Sundar Annamalai 3d5bdf4c75 Fixes varchar type mismatch issue of CreateCube filter predicate. 2021-06-14 01:42:30 -04:00
i-robot 1a36022043 !908 Avoid stats calculation incase not needed for query optimization
Merge pull request !908 from RajeevRastogi/plan.stats.optimization
2021-06-10 23:11:48 +08:00
rajeevrastogi b863698795 [#I3UVBN] Avoid stats calculation in below cases.
1. Just to attach stats with plan for non-EXPLAIN queries.
2. No join, so need to get stats to check if dynamic filter to keep or remove.
2021-06-10 20:03:25 +05:30
i-robot 84a0d93b4d !907 Star tree cube support for filtering source data when creating cube
Merge pull request !907 from sundarannamalai/count_distinct_bug
2021-06-10 00:23:21 +08:00
Haochen Ding 33cfb24262 Disable reserved pool by default 2021-06-08 15:17:23 -04:00
maxiaoqi2020 2a39ccb58c Support Oracle upadte/delete functionality; pushdown is not supported yet 2021-06-08 16:46:00 +08:00
Sundar Annamalai d8a35a09f4 Add support for filtering source data when creating cube. 2021-06-08 00:20:09 -04:00
NeerajUnnikrishnan 1d6207faba Fix for timestamp semantics 2021-06-07 11:21:38 -04:00
Sundar Annamalai 34b7306699 Star Tree Cubing - Support for merging range predicates. 2021-05-11 16:35:37 -04:00
Debasatwa Dutta d8e7d5cd92 The changes for fixing the create cube, delete from, update cube.
Unit Tests for Star Tree changes
2021-04-14 01:09:15 -04:00
i-robot d393fe0a6f !779 [I3DPAX] Resource group limit
Merge pull request !779 from RajeevRastogi/resource.group.limit
2021-04-07 00:54:34 +08:00
rajeevrastogi 21fe954185 [#I3DPAX] Resource group limit 2021-04-06 20:48:11 +05:30
Raghunandan 34b34313b3 [maven-release-plugin] prepare for next development iteration 2021-03-31 11:15:11 +05:30
Sundar Annamalai 86d476e74c Fix NPE in analyzeCubes in StatementAnalyzer 2021-03-27 18:15:02 -04:00
Ayush Gupta cc92eceeac Restrict insert into cube where clause/ fix tuple domain bug 2021-03-26 16:30:23 -04:00