Koji Kawamura created NIFI-3958:
-----------------------------------
Summary: Avro decimal logical type fail if database returns Zero
precision
Key: NIFI-3958
URL: https://issues.apache.org/jira/browse/NIFI-3958
Project: Apache NiFi
Issue Type: Bug
Components: Extensions
Affects Versions: 1.3.0
Reporter: Koji Kawamura
NIFI-2624 introduced Avro logical type mapping capability. For NUMERIC/DECIMAL
types, 'decimal' logical type is used, and positive precision is required to
encode a numeric value as 'decimal logical type.
However, database can return 0 (Zero) precision to represent unlimited
precision, if a column is not configured with specific precision (some database
engine has default precision, but some don't), or numeric value generated by
functions or other means dynamically.
We need to provide a way to define default precision in case Zero precision is
returned, probably by adding another Processor property to specify default
precision.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)