Failure to estimate row count for table with delimited id

Bug #1384959 reported by Barry Fritchman
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Trafodion
Fix Committed
High
Barry Fritchman

Bug Description

When a fully qualified table name includes a delimited identifier, estimation of the row count fails and returns the default cardinality estimate.

Changed in trafodion:
assignee: nobody → Barry Fritchman (barry-fritchman)
status: New → In Progress
importance: Undecided → High
Revision history for this message
Trafodion-Gerrit (neo-devtools) wrote : Fix proposed to core (master)

Fix proposed to branch: master
Review: https://review.trafodion.org/621

Revision history for this message
Trafodion-Gerrit (neo-devtools) wrote : Fix merged to core (master)

Reviewed: https://review.trafodion.org/621
Committed: https://github.com/trafodion/core/commit/8cbc43f107b0a5e8b2ca3ab5d47d12ace6387774
Submitter: Trafodion Jenkins
Branch: master

commit 8cbc43f107b0a5e8b2ca3ab5d47d12ace6387774
Author: Barry Fritchman <email address hidden>
Date: Tue Oct 28 16:44:11 2014 +0000

    Make corrections to HFile path

    To estimate the row count for an HBase table, the HFiles are
    accessed directly from the HDFS file system. When the Trafodion
    name of the table includes a delimited id, the quotes must not
    be included in the node of the HDFS path representing the
    qualified table name. In addition, the hbase.rootdir property
    in hbase-site.xml may consist solely of a path rather than a
    full URL. It was previously assumed that a full URL would be
    present, and the value of the property was used to construct
    a java.net.URI object. When a string consisting of only a file
    path is passed to the URI constructor, a NullPointerException
    is thrown (instead of the expected URISyntaxException), causing
    the path we construct to the HFile to be incorrect. The code
    was changed to utilize either a file path or a valid URI as the
    value of the property.

    Change-Id: If35d9da7aaab815a9c1d550bc505d86f0cbcf611
    Closes-Bug: 1384959

Changed in trafodion:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.