mirror of https://github.com/apache/nifi.git
NIFI-2174: Fix handling of time/date types in QueryCassandra
This closes #661 Signed-off-by: jpercivall <joepercivall@yahoo.com>
This commit is contained in:
parent
52a961873b
commit
1c5975da86
|
@ -311,8 +311,14 @@ public abstract class AbstractCassandraProcessor extends AbstractProcessor {
|
|||
return row.getDouble(i);
|
||||
|
||||
} else if (dataType.equals(DataType.timestamp())) {
|
||||
return row.getTimestamp(i);
|
||||
|
||||
} else if (dataType.equals(DataType.date())) {
|
||||
return row.getDate(i);
|
||||
|
||||
} else if (dataType.equals(DataType.time())) {
|
||||
return row.getTime(i);
|
||||
|
||||
} else if (dataType.isCollection()) {
|
||||
|
||||
List<DataType> typeArguments = dataType.getTypeArguments();
|
||||
|
|
Loading…
Reference in New Issue