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

PutHBaseJSON processor treats all Values as Strings

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.6.1
    • Fix Version/s: 1.0.0, 0.7.0, 1.0.0-Beta
    • Component/s: Extensions
    • Labels:
      None

      Description

      line 184 of PutHBaseJSON.java treats all JsonNode values as strings by calling the .asText() method. We are working with using this processor to load IoT time series data and this causes issues in HBase with timestamps/numerics not getting sorted correctly.

      The operator should inspect the node value to determine type and convert as such.
      Numeric integral - Long (assumes widest type)
      Numeric not integral - Double (assumes widest type)
      Logical - Boolean
      everything else (including current Complex Type logic) - String

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bbende Bryan Bende
                Reporter:
                ryan_templeton Ryan Templeton
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: