Uploaded image for project: 'Sqoop'
  1. Sqoop
  2. SQOOP-2003

Should not Schema be passed over the wire along with the IDF data?

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Should Schema be passed over the wire along with the IDF data?

      Related to matching as well, since we create matcher again in the SqoopOutputFormatExecutor

          matcher = MatcherFactory.getMatcher(
              MRConfigurationUtils.getConnectorSchema(Direction.FROM, context.getConfiguration()),
              MRConfigurationUtils.getConnectorSchema(Direction.TO, context.getConfiguration()));
          toDataFormat = (IntermediateDataFormat<?>) ClassUtils.instantiate(context
              .getConfiguration().get(MRJobConstants.TO_INTERMEDIATE_DATA_FORMAT));
          // Using the TO schema since the SqoopDataWriter in the SqoopMapper encapsulates the toDataFormat
          toDataFormat.setSchema(matcher.getToSchema());
      
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                vybs Veena Basavaraj
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: