Uploaded image for project: 'Apache Drill'
  1. Apache Drill
  2. DRILL-5229

Upgrade kudu client to org.apache.kudu:kudu-client:1.2.0

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      Getting an error -" out-of-order key" for a query select v,count(k) from
      kudu.test group by v where k is the primary key. This happens only when the
      aggregation is done on primary key. Should drill move to the latest kudu
      client to investigate this further?

      Current drill kudu connector uses org.kududb:kudu-client:0.6.0 from
      cloudera repository, where the latest released library
      org.apache.kudu:kudu-client:1.2.0 is hosted on maven central. There are a
      few breaking changes with the new library:

      1. TIMESTAMP renamed to UNIXTIME_MICROS
      2. In KuduRecordReader#setup -
      KuduScannerBuilder#lowerBoundPartitionKeyRaw renamed to lowerBoundRaw
      andKuduScannerBuilder#exclusiveUpperBoundPartitionKeyRaw renamed
      exclusiveUpperBoundRaw. Both methods are deprecated.
      3. In KuduRecordWriterImpl#updateSchema - client.createTable(name,
      kuduSchema) requires CreateTableOperatios as the third argument

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            sudheeshkatkam Sudheesh Katkam
            rajrahul Rahul Raj
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment