Uploaded image for project: 'Talend Component Kit'
  1. Talend Component Kit
  2. TCOMP-2707

Guess schema throw exception but output correct schema

Apply templateInsert Lucidchart Diagram
    XMLWordPrintable

Details

    • All
    • Hide

      Marked as duplicated with TCOMP-2710 in which issues will be fixed.

      Show
      Marked as duplicated with TCOMP-2710 in which issues will be fixed.
    • Small

    Description

      See linked issue for full bug description.

      The strange behavior (exception thrown plus a correct schema passed to stdout) comes from a bug in TacokitGuessSchema class (an exception is raised but shoudln't in that case).
      Here's the normal process for the guess schema process for connector (processor in start of job):

      the executeDiscoverSchemaExtendedAction is tried. (where is thrown "Not allowed to execute the HTTP call to retrieve the schema.")
      if it failed, it tries to execute guessOutputComponentSchemaThroughResult which simulates the processor lifecycle and parse row outputed.

      Attachments

        Issue Links

          Activity

            People

              emmanuel_g emmanuel gallois
              emmanuel_g emmanuel gallois
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: