Uploaded image for project: 'Kite SDK'
  1. Kite SDK
  2. KITE-495

Type inference error in Datasets.create

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.15.0
    • Fix Version/s: 0.15.0
    • Component/s: Data Module
    • Labels:
      None

      Description

      Under Java 6 this doesn't compile:

      Datasets.create("dataset:file:///tmp/data",
          new DatasetDescriptor.Builder().schemaLiteral("\"string\"").build());
      

      but if there is an assignment, it does:

      Dataset<Object> ds =
        Datasets.create("dataset:file:///tmp/data",
          new DatasetDescriptor.Builder().schemaLiteral("\"string\"").build());
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                tom Tom White
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: