lszskye commented on code in PR #362:
URL: https://github.com/apache/paimon-cpp/pull/362#discussion_r4035119221


##########
test/test_data/orc/append_types_compatibility.db/README.md:
##########
@@ -0,0 +1,97 @@
+# Java ORC append type compatibility data
+
+These unpartitioned append-only tables were written by the Java batch API. 
They use
+`bucket = -1`, `file.format = orc`, and `orc.timestamp-ltz.legacy.type = 
false`.
+
+## `java_types`
+
+The table has three rows and the following columns:
+
+```text
+id INT NOT NULL
+f_boolean BOOLEAN
+f_tinyint TINYINT
+f_smallint SMALLINT
+f_int INT
+f_bigint BIGINT
+f_float FLOAT
+f_double DOUBLE
+f_char CHAR(8)
+f_varchar VARCHAR(64)
+f_string STRING
+f_binary BINARY(8)
+f_varbinary VARBINARY(64)
+f_bytes BYTES
+f_blob BLOB
+f_blob_descriptor BLOB
+f_decimal_1_0 DECIMAL(1, 0)
+f_decimal_9_2 DECIMAL(9, 2)
+f_decimal_18_2 DECIMAL(18, 2)
+f_decimal_19_2 DECIMAL(19, 2)
+f_decimal_38_18 DECIMAL(38, 18)
+f_decimal_38_38 DECIMAL(38, 38)
+f_date DATE
+f_timestamp_0/3/6/9 TIMESTAMP(0/3/6/9)
+f_timestamp_ltz_0/3/6/9 TIMESTAMP_LTZ(0/3/6/9)
+f_array_int ARRAY<INT>
+f_map_string_bigint MAP<STRING NOT NULL, BIGINT>
+f_row ROW<nested_int INT, nested_string STRING, nested_decimal DECIMAL(19, 4),
+          nested_timestamp TIMESTAMP(9), nested_timestamp_ltz TIMESTAMP_LTZ(9)>
+f_array_array_int ARRAY<ARRAY<INT>>
+f_array_map ARRAY<MAP<STRING NOT NULL, INT>>
+f_map_array MAP<STRING NOT NULL, ARRAY<INT>>
+f_array_row ARRAY<ROW<name STRING, score DECIMAL(9, 2)>>
+f_map_row MAP<STRING NOT NULL, ROW<enabled BOOLEAN, event_time TIMESTAMP(6)>>
+```
+
+Data:
+
+- `id = 1` contains the representative values used by the Parquet Java 
fixture: numeric boundary
+  values; `char`, `varchar-中文`, `pypaimon 2.0.0`; embedded-NUL binary values; 
decimals at
+  precisions 1/9/18/19/38; date `2024-02-29`; timestamps
+  `2024-02-29 12:34:56[.123[456]]`; and populated nested arrays, maps, and 
rows.

Review Comment:
   Since ORC format support timestamp(9), there supposed to be another value 
like `2024-02-29 12:34:56[.123[456[789]]]`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to