This is an automated email from the ASF dual-hosted git repository.
apucher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git
The following commit(s) were added to refs/heads/master by this push:
new bb8b19e DataGenerator to tolerate DATE_TIME and COMPLEX fields (#5848)
bb8b19e is described below
commit bb8b19e48ebd20db1e09e9bcaf98f1031fdfa5de
Author: Alexander Pucher <[email protected]>
AuthorDate: Tue Aug 11 20:08:33 2020 -0700
DataGenerator to tolerate DATE_TIME and COMPLEX fields (#5848)
---
.../org/apache/pinot/tools/admin/command/GenerateDataCommand.java | 5 +++++
1 file changed, 5 insertions(+)
diff --git
a/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/GenerateDataCommand.java
b/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/GenerateDataCommand.java
index e57a01a..fe3e182 100644
---
a/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/GenerateDataCommand.java
+++
b/pinot-tools/src/main/java/org/apache/pinot/tools/admin/command/GenerateDataCommand.java
@@ -205,6 +205,11 @@ public class GenerateDataCommand extends
AbstractBaseAdminCommand implements Com
timeUnits.put(col, tfs.getIncomingGranularitySpec().getTimeType());
break;
+ // forward compatibility with pattern generator
+ case DATE_TIME:
+ case COMPLEX:
+ break;
+
default:
throw new RuntimeException("Invalid field type.");
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]