Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-1549

SqlEntityProcessor does not recognize onError attribute

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.4, 1.5
    • Fix Version/s: None
    • Labels:
      None

      Description

      Unfortunately, the SqlEntityProcessor does not recognize the value of an entity's onError attribute in DIH's data config file. Therefore, in cases where SQL exceptions are thrown somewhere inside the constructor of ResultSetIterators (which is an inner class of JdbcDataSource), Solr's import exits immediately, even though onError is set to continue or skip.

      In my opinion, use cases exist that will profit from database related exception handling inside of Solr (e.g., in cases where the existence of certain database tables or views is not predictable).

        Attachments

        1. SOLR-1549.patch
          2 kB
          Alexander Kanarsky

          Activity

            People

            • Assignee:
              jdyer James Dyer
              Reporter:
              szott Sascha Szott
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: