Uploaded image for project: 'Kite SDK (READ-ONLY)'
  1. Kite SDK (READ-ONLY)
  2. KITE-1059

Return Value Type Incorrect for Datasets.create Call in API Overview

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.0.0
    • Fix Version/s: None
    • Component/s: Documentation
    • Labels:
      None

      Description

      I was porting some older Kite code to use the 1.0.0 release. In reviewing the API overview documentation, I found that the example of how to invoke the Datasets.create method is incorrect.

      Line 5 of that example shows a call to the two-argument version returning a Dataset<Record> instance. I believe this code would instead return a Dataset<GenericRecord> instance, and that you'd need to invoke the three-argument version (passing in Record.class as the third argument) to return Dataset<Record>.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              twheeler@cloudera.com Tom Wheeler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: