[ 
https://issues.apache.org/jira/browse/IMPALA-6503?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16702869#comment-16702869
 ] 

Quanlong Huang commented on IMPALA-6503:
----------------------------------------

[~tarmstrong] Thank you, Tim! I have two questions about the nested 
TupleDescriptor.

1. Can I assume that all SlotDescriptors inside the same TupleDescriptor will 
have the same length in their col_path?

For example, suppose the table schema is
{code}
table (
  myId int,
  myArray array<int>
)
{code}
Is the following TupleDescriptor illegal?
{code}
Tuple(tuple_path=[], slots=[
  Slot(type=INT, col_path=[0]),
  Slot(type=INT, col_path=[1,0]),
  Slot(type=INT, col_path=[1,1]),
])
{code}

2. Can I assume that col_path of a SlotDescriptor will have exactly one more 
item than the tuple_path of its TupleDescriptor?

For example, is the following TupleDescriptor illegal?
{code}
Tuple(tuple_path=[], slots=[
  Slot(type=INT, col_path=[1,0]),
  Slot(type=INT, col_path=[1,1])
])
{code}

> Support reading complex types from ORC format files
> ---------------------------------------------------
>
>                 Key: IMPALA-6503
>                 URL: https://issues.apache.org/jira/browse/IMPALA-6503
>             Project: IMPALA
>          Issue Type: New Feature
>          Components: Backend, Frontend
>            Reporter: Quanlong Huang
>            Assignee: Quanlong Huang
>            Priority: Major
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org

Reply via email to