Github user DaveBirdsall commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/184#discussion_r45653714
--- Diff: core/sql/ustat/hs_globals.cpp ---
@@ -3857,7 +3759,8 @@ Lng32 HSSample::make(NABoolean rowCountIsEstimate, //
input
// need to use a vanilla INSERT statement. Otherwise, we can use
SIDETREE
// INSERTS for better performance. A current bug in the HBase interface
// requires the use of Upsert.
- if (hs_globals->isHbaseTable)
+ // For Hive tables the sample table used is a Trafodion table
+ if (hs_globals->isHbaseTable || hs_globals->isHiveTable)
--- End diff --
I gather that fixing the Hive stats performance problem is a one-line fix
(just this line) and everything else in this change set pertains to removing
obsolete DP2 sampling code?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---