File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -539,14 +539,7 @@ impl EntityData {
539539 // table column; those will be things like the
540540 // block_range that `select *` pulls in but that we
541541 // don't care about here
542- if key == "vid" {
543- // VID is not in the input schema but we need it, so deserialize it too
544- match T :: Value :: from_column_value ( & ColumnType :: Int8 , json) {
545- Ok ( value) if value. is_null ( ) => None ,
546- Ok ( value) => Some ( Ok ( ( Word :: from ( "vid" ) , value) ) ) ,
547- Err ( e) => Some ( Err ( e) ) ,
548- }
549- } else if let Some ( column) = table. column ( & SqlName :: verbatim ( key) ) {
542+ if let Some ( column) = table. column ( & SqlName :: verbatim ( key) ) {
550543 match T :: Value :: from_column_value ( & column. column_type , json) {
551544 Ok ( value) if value. is_null ( ) => None ,
552545 Ok ( value) => Some ( Ok ( ( Word :: from ( column. field . to_string ( ) ) , value) ) ) ,
You can’t perform that action at this time.
0 commit comments