Skip to content

Commit

Permalink
fix source_node type
Browse files Browse the repository at this point in the history
  • Loading branch information
thanh-nguyen-dang committed Apr 16, 2024
1 parent da92f10 commit e97628a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tube/etl/indexers/base/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,8 @@ def get_type_of_item_for_list_type(self, node_label, src):
return a.get(src)

def get_prop_type(self, fn, src, node_label=None, index=None):
if src == "source_node":
return (str,)
if fn is not None and fn in ["count", "sum", "min", "max"]:
return (float,)

Expand Down

0 comments on commit e97628a

Please sign in to comment.