bitnine-oss / agensgraph

AgensGraph, a transactional graph database based on PostgreSQL
http://www.agensgraph.org
Other
1.32k stars 146 forks source link

AGV2-23 Implement head(), last(), tail() for array type. #525 #580

Closed yjy44 closed 1 year ago

yjy44 commented 1 year ago

AGV2-23 Implement head(), last(), tail() for array type. #525

Previously, all data was cast as JSONB to process the value. however, head(), last(), tail() function also casting values that should not be casting into JSONB, resulting in unexpected results. so, implement a separate function for the Array type.

emotionbug commented 1 year ago

Reverted.