Attribute Types
Archived PuppyGraph 0.x documentation
This is the archived 0.x documentation. For new deployments, use puppygraph/puppygraph:latest (PuppyGraph 1.x) and the current docs. The 0.x schemas and UI described here don't apply to 1.x; see Migrating from v0.
Supported types
Boolean- True / FalseByte- 8bitShort- 16bitInt- 32bitLong- 64bitHugeInt- 128bit or larger integersFloatDoubleDecimal(P, S)StringDateDateTimeArray<T>- Collection of elements of type T
Type mapping
| Type | Gremlin Java Type | Iceberg | Hudi | Databricks SQL / Delta lake | ClickHouse |
|---|---|---|---|---|---|
Boolean |
java.lang.Boolean | boolean | boolean | BOOLEAN | Boolean |
Byte |
java.lang.Byte | - | - | TINYINT | Int8 |
Short |
java.lang.Short | - | - | SMALLINT | Int16, UInt8 |
Int |
java.lang.Integer | int | int | INT | Int32, UInt16, Nullable(Int32) |
Long |
java.lang.Long | long | long | BIGINT | Int64, UInt32 |
HugeInt |
java.math.BigInteger | - | - | - | UInt64 |
Float |
java.lang.Float | float | float | FLOAT | Float32 |
Double |
java.lang.Double | double | double | DOUBLE | Float64 |
Decimal(P, S) |
java.math.BigDecimal | decimal(P, S) | decimal | DECIMAL(P, S) | Decimal(P, S), Decimal32(S), Decimal64(S), Decimal128(S) |
String |
java.lang.String | string | string | VARCHAR / STRING / ... | String, FixedString, Enum8, Enum16, UUID, LowCardinality(String) |
Date |
java.time.LocalDate | date | date | DATE | Date, Date32 |
DateTime |
java.time.LocalDateTime | timestamp | - | TIMESTAMP_NTZ | DateTime, DateTime64 |
Array<T> |
java.util.List | - | - | - | Array(T), Nested |