You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@orc.apache.org by "Quanlong Huang (Jira)" <ji...@apache.org> on 2021/09/16 01:46:00 UTC

[jira] [Created] (ORC-999) [C++] Add PredicateDataType in PredicateLeaf::toString() and Literal::toString()

Quanlong Huang created ORC-999:
----------------------------------

             Summary: [C++] Add PredicateDataType in PredicateLeaf::toString() and Literal::toString()
                 Key: ORC-999
                 URL: https://issues.apache.org/jira/browse/ORC-999
             Project: ORC
          Issue Type: Improvement
          Components: C++
    Affects Versions: 1.7.0
            Reporter: Quanlong Huang
            Assignee: Quanlong Huang


Currently, the output of PredicateLeaf::toString() looks like
{code}
leaf-0 = (column(id=7) <= 132842), expr = (not leaf-0)
{code}
While debugging an issue, I realize that PredicateDataType of PredicateLeaf and Literal can be different (due to a mistake). It'd be helpful if we show the data type in toString() outputs, or introducing a toDebugString() method to provide more detailed info.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)