Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-1010

When using MSSqlServer Driver with ExecuteSQL always recieve Avro parse error: Empty: Name

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.3.0
    • 0.4.0
    • Extensions
    • MSSqlServer

    Description

      When using ExecuteSQL with the MSSqlServerDriver from Microsoft you always get a SchemParseException , Empty: Name.

      This is located in / nifi-nar-bundles / nifi-standard-bundle / nifi-standard-processors / src / main / java / org / apache / nifi / processors / standard / util / JdbcCommon.java line 98.

      The line should read: final String tableName = meta.getTableName(1) == "" ? "table" : meta.getTableName(1);

      Attachments

        Activity

          People

            markap14 Mark Payne
            Scotty Scott
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified