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

SqlEntityProcessor does not recognize onError attribute

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Won't Fix
    • 1.4, 1.5
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: