greptimedb icon indicating copy to clipboard operation
greptimedb copied to clipboard

Data types support object type

Open liyan186 opened this issue 3 years ago • 1 comments

What problem does the new feature solve?

Better store the following class

data class OrderBook( val symbol: String, val timeMillis: Long, val asks: List<Book>, val bids: List<Book>, val status: Boolean ) { data class Book(val price: BigDecimal, val size: BigDecimal) }

What does the feature do?

data types support object type. In this way, asks and bids can store more efficiently.

Implementation challenges

No response

liyan186 avatar Dec 02 '22 09:12 liyan186

Thanks for your suggestion! I think we could implement the struct data type, both arrow and parquet support the struct data type.

evenyag avatar Dec 05 '22 02:12 evenyag

Move to ideas until we have some concrete designs.

tisonkun avatar Mar 27 '24 08:03 tisonkun