Uploaded image for project: 'Sqoop (Retired)'
  1. Sqoop (Retired)
  2. SQOOP-1869

Sqoop2: Expand schema matching to support two schemaless connectors

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 1.99.5
    • None
    • None

    Description

      Currently the schema matches errors out if both FROM and TO connectors are empty. This prevents us from supporting HDFS->Kafka.

      I suggest to change the code to support the following:
      1. Empty schema will contain a single byte[] field with whatever the connector writes into it.
      2. As happens now, one connector is null and the other has a schema, the schema that exists will be used to parse the data.
      3. If we have two empty schemas, the TO connector will get a byte[] and presumably know what to do with it.

      Attachments

        1. SQOOP-1869.4.patch
          9 kB
          Gwen Shapira
        2. SQOOP-1869.2.patch
          9 kB
          Gwen Shapira
        3. SQOOP-1869.1.patch
          9 kB
          Gwen Shapira
        4. SQOOP-1869.0.patch
          6 kB
          Gwen Shapira

        Issue Links

          Activity

            People

              gwenshap Gwen Shapira
              gwenshap Gwen Shapira
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: