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

PutHBaseJSON processor treats all Values as Strings

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.6.1
    • 1.0.0, 0.7.0, 1.0.0-Beta
    • Extensions
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: