We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 11623f5 commit 54e6287Copy full SHA for 54e6287
1 file changed
src/orcapod/core/streams/pod_node_stream.py
@@ -95,11 +95,18 @@ async def run_async(
95
.drop_columns([constants.INPUT_PACKET_HASH])
96
)
97
98
- existing = (
99
- all_results.filter(pc.is_valid(pc.field("_exists")))
100
- .drop_columns(target_entries.column_names)
101
- .drop_columns(["_exists"])
+ existing = all_results.filter(
+ pc.is_valid(pc.field("_exists"))
+ ).drop_columns(
+ [
102
+ "_exists",
103
+ constants.INPUT_PACKET_HASH,
104
+ constants.PACKET_RECORD_ID,
105
+ *self.input_stream.keys()[1], # remove the input packet keys
106
+ ]
107
+ # TODO: look into NOT fetching back the record ID
108
109
+
110
renamed = [
111
c.removesuffix("_right") if c.endswith("_right") else c
112
for c in existing.column_names
0 commit comments