lszskye commented on code in PR #362: URL: https://github.com/apache/paimon-cpp/pull/362#discussion_r4035055326
########## test/test_data/avro/append_types_compatibility.db/README.md: ########## @@ -0,0 +1,111 @@ +# Java Avro append type compatibility data + +These unpartitioned append-only tables were written by the Java batch API. They use +`bucket = -1` and `file.format = avro`. + +## `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 TIMESTAMP(0/3/6) +f_timestamp_ltz_0/3/6 TIMESTAMP_LTZ(0/3/6) +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)> +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 representative non-null values: numeric boundary values; `char`, + `varchar-中文`, `pypaimon 2.0.0`; fixed and variable binary values including embedded NULs; + 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: By the way, what's the meaning of `2024-02-29 12:34:56[.123[456]]` -- 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]
