Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

对ColumnValue的处理不符合plainbuff的定义规范 #84

Open
shaoxp opened this issue Aug 11, 2021 · 1 comment
Open

对ColumnValue的处理不符合plainbuff的定义规范 #84

shaoxp opened this issue Aug 11, 2021 · 1 comment

Comments

@shaoxp
Copy link

shaoxp commented Aug 11, 2021

value.Type = ColumnType_INTEGER

这里面的读,对与int/double等类型,没有读/跳过 len字段. 我查这个repo中,对于ColumnValue写,也奇怪的多写len+type+value的值,和读根本不对应..

不知道是以code中这种非对称的写法是对的,还是按照plainbuffer的规范定义操作是对的.唉.

@shaoxp
Copy link
Author

shaoxp commented Aug 11, 2021

需要以code为准,这里会省4个字节,但是引入很多分支.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant