Skip to content

Commit

Permalink
TDEngineTarget: Keep table_col if present in columns or tag_cols (
Browse files Browse the repository at this point in the history
  • Loading branch information
gtopper authored May 16, 2024
1 parent 0193af2 commit 1fb5462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion storey/targets.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,7 @@ def __init__(

if table_col:
kwargs["key_field"] = table_col
if kwargs.get("drop_key_field") is None:
if kwargs.get("drop_key_field") is None and table_col not in columns and table_col not in tag_cols:
kwargs["drop_key_field"] = True

_Batching.__init__(self, **kwargs)
Expand Down

0 comments on commit 1fb5462

Please sign in to comment.