James Taylor created PHOENIX-1339:
-------------------------------------
Summary: Cleanup PostDDLCompiler usages
Key: PHOENIX-1339
URL: https://issues.apache.org/jira/browse/PHOENIX-1339
Project: Phoenix
Issue Type: Improvement
Reporter: James Taylor
Assignee: James Taylor
Priority: Minor
We should do the following cleanup to PostDDLCompiler:
- rename it to BaseInternalCompiler
- create subclasses for each usage: DropTableDataCompiler,
DropColumnDataCompiler, PopulateEmptyKeyValueCompiler, UpdateStatsCompiler
- set the required Scan attributes in constructors
- don't pass a separate timestamp in - there are just a few occurrences where
we'd need to clone the TableRef on the caller
- optimize the case where there are multiple of the sameTableRefs by ORing
together the Scan objects. This will prevent the stats collector from
re-analyzing the same region.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)