lszskye opened a new pull request, #13:
URL: https://github.com/apache/paimon-cpp/pull/13

   ### Purpose
   Introduce the Paimon data type system for apache-paimon-cpp, including:
   
   - **DataType**: Base class representing Paimon data types, with Arrow type 
mapping and JSON serialization. Supports atomic types (BOOLEAN, TINYINT, 
SMALLINT, INT, BIGINT, FLOAT, DOUBLE, STRING, BYTES, DATE, DECIMAL, TIMESTAMP, 
BLOB) and complex types (ARRAY, MAP, ROW).
   - **DataField**: Represents a field in a row type with id, name, type, and 
optional description. Provides bidirectional conversion between Paimon 
DataField and Arrow Field/Schema, including metadata handling for field ids.
   - **RowType**: A structured type containing named fields, serialized as JSON 
with field definitions.
   - **ArrayType**: A list/array type with element type.
   - **MapType**: A key-value map type. Note: keys are always non-nullable due 
to Apache Arrow limitations.
   - **RowKind**: Represents row kinds (INSERT, UPDATE_BEFORE, UPDATE_AFTER, 
DELETE) with byte value and short string serialization.
   - **DataTypeJsonParser**: A comprehensive type parser supporting the full 
Paimon type syntax (including parameterized types like `DECIMAL(10,2)`, 
`TIMESTAMP(9) WITH LOCAL TIME ZONE`, etc.).
   
   ### Tests
   
   - `DataTypeTest`
   - `DataFieldTest`
   - `DataTypeJsonParserTest`
   - `RowKindTest`


-- 
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