You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pulsar-sql/presto-pulsar/src/main/java/org/apache/pulsar/sql/presto/decoder/avro/PulsarAvroColumnDecoder.java
+27-12Lines changed: 27 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -41,8 +41,8 @@
41
41
importio.trino.spi.type.BooleanType;
42
42
importio.trino.spi.type.DateType;
43
43
importio.trino.spi.type.DecimalType;
44
-
importio.trino.spi.type.Decimals;
45
44
importio.trino.spi.type.DoubleType;
45
+
importio.trino.spi.type.Int128;
46
46
importio.trino.spi.type.IntegerType;
47
47
importio.trino.spi.type.MapType;
48
48
importio.trino.spi.type.RealType;
@@ -66,11 +66,14 @@
66
66
importorg.apache.avro.generic.GenericRecord;
67
67
68
68
/**
69
-
* Copy from {@link io.trino.decoder.avro.AvroColumnDecoder} (presto-record-decoder-345)
70
-
* with A little bit pulsar's extensions.
71
-
* 1) support {@link io.trino.spi.type.TimestampType},{@link io.trino.spi.type.DateType}DATE,
72
-
* * {@link io.trino.spi.type.TimeType}.
69
+
* Copy from {@link io.trino.decoder.avro.AvroColumnDecoder}
70
+
* with A little pulsar's extensions.
71
+
* 1) support date and time types.
72
+
* {@link io.trino.spi.type.TimestampType}
73
+
* {@link io.trino.spi.type.DateType}
74
+
* {@link io.trino.spi.type.TimeType}
73
75
* 2) support {@link io.trino.spi.type.RealType}.
76
+
* 3) support {@link io.trino.spi.type.DecimalType}.
Copy file name to clipboardExpand all lines: pulsar-sql/presto-pulsar/src/main/java/org/apache/pulsar/sql/presto/decoder/json/PulsarJsonFieldDecoder.java
0 commit comments