[
https://issues.apache.org/jira/browse/KUDU-1493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15351245#comment-15351245
]
Tom White commented on KUDU-1493:
---------------------------------
I'm using the Scala API, not SQL.
I tried specifying a user schema by calling {{DataFrameReader#schema}}, but
that's not supported, since Kudu's {{DefaultSource}} implements only
{{RelationProvider}} and not {{SchemaRelationProvider}}. Perhaps the fix is to
implement {{SchemaRelationProvider}} so a user schema can be specified?
> Spark read fails if key columns are not leading columns
> -------------------------------------------------------
>
> Key: KUDU-1493
> URL: https://issues.apache.org/jira/browse/KUDU-1493
> Project: Kudu
> Issue Type: Bug
> Components: spark
> Affects Versions: 0.9.0
> Reporter: Tom White
> Assignee: Andy Grove
>
> If the Spark dataframe schema is (A, B, C) then reading will fail if the Kudu
> keys are (A, C). Keys (A, B) work fine.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)