You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by "chaokunyang (via GitHub)" <gi...@apache.org> on 2025/09/21 16:02:20 UTC

[I] [Go] remove stale type id from type system [fory]

chaokunyang opened a new issue, #2639:
URL: https://github.com/apache/fory/issues/2639

   ### Feature Request
   
   remove following type id, clean code and fix tests.
   
   ```go
   // UINT8 Unsigned 8-bit little-endian integer
   	UINT8 = 100 // Not in mapping table, assign a higher value
   	// UINT16 Unsigned 16-bit little-endian integer
   	UINT16 = 101
   	// UINT32 Unsigned 32-bit little-endian integer
   	UINT32 = 102
   	// UINT64 Unsigned 64-bit little-endian integer
   	UINT64 = 103
   	// FIXED_SIZE_BINARY Fixed-size binary. Each value occupies the same number of bytes
   	FIXED_SIZE_BINARY = 104
   	// DATE32 int32_t days since the UNIX epoch
   	DATE32 = 105
   	// DATE64 int64_t milliseconds since the UNIX epoch
   	DATE64 = 106
   	// TIME32 Time as signed 32-bit integer representing either seconds or milliseconds since midnight
   	TIME32 = 107
   	// TIME64 Time as signed 64-bit integer representing either microseconds or nanoseconds since midnight
   	TIME64 = 108
   	// INTERVAL_MONTHS YEAR_MONTH interval in SQL style
   	INTERVAL_MONTHS = 109
   	// INTERVAL_DAY_TIME DAY_TIME interval in SQL style
   	INTERVAL_DAY_TIME = 110
   	// DECIMAL256 Precision- and scale-based decimal type with 256 bits.
   	DECIMAL256 = 111
   	// SPARSE_UNION Sparse unions of logical types
   	SPARSE_UNION = 112
   	// DENSE_UNION Dense unions of logical types
   	DENSE_UNION = 113
   	// DICTIONARY Dictionary-encoded type also called "categorical" or "factor"
   	DICTIONARY = 114
   	// FIXED_SIZE_LIST Fixed size list of some logical type
   	FIXED_SIZE_LIST = 115
   	// LARGE_STRING Like STRING but with 64-bit offsets
   	LARGE_STRING = 116
   	// LARGE_BINARY Like BINARY but with 64-bit offsets
   	LARGE_BINARY = 117
   	// LARGE_LIST Like LIST but with 64-bit offsets
   	LARGE_LIST = 118
   	// MAX_ID Leave this at the end
   	MAX_ID = 119
   
   	DECIMAL = DECIMAL128
   
   	// Fory added type for cross-language serialization.
   	// FORY_TYPE_TAG for type identified by the tag
   	FORY_TYPE_TAG               = 256
   	FORY_SET                    = 257
   	FORY_PRIMITIVE_BOOL_ARRAY   = 258
   	FORY_PRIMITIVE_SHORT_ARRAY  = 259
   	FORY_PRIMITIVE_INT_ARRAY    = 260
   	FORY_PRIMITIVE_LONG_ARRAY   = 261
   	FORY_PRIMITIVE_FLOAT_ARRAY  = 262
   	FORY_PRIMITIVE_DOUBLE_ARRAY = 263
   	FORY_STRING_ARRAY           = 264
   	FORY_SERIALIZED_OBJECT      = 265
   	FORY_BUFFER                 = 266
   	FORY_ARROW_RECORD_BATCH     = 267
   	FORY_ARROW_TABLE            = 268
   ```
   
   ### Is your feature request related to a problem? Please describe
   
   _No response_
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
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: commits-unsubscribe@fory.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org


Re: [I] [Go] remove stale type id from type system [fory]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang closed issue #2639: [Go] remove stale type id from type system
URL: https://github.com/apache/fory/issues/2639


-- 
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: commits-unsubscribe@fory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org


Re: [I] [Go] remove stale type id from type system [fory]

Posted by "chaokunyang (via GitHub)" <gi...@apache.org>.
chaokunyang commented on issue #2639:
URL: https://github.com/apache/fory/issues/2639#issuecomment-3316641494

   @lzaeh
   


-- 
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: commits-unsubscribe@fory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org


Re: [I] [Go] remove stale type id from type system [fory]

Posted by "lzaeh (via GitHub)" <gi...@apache.org>.
lzaeh commented on issue #2639:
URL: https://github.com/apache/fory/issues/2639#issuecomment-3347100050

   i will catch up


-- 
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: commits-unsubscribe@fory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org