JiaqiWang18 commented on code in PR #51507:
URL: https://github.com/apache/spark/pull/51507#discussion_r2211691116


##########
python/pyspark/pipelines/cli.py:
##########
@@ -283,6 +341,11 @@ def run(spec_path: Path) -> None:
         else:
             spec_path = find_pipeline_spec(Path.cwd())
 
-        run(spec_path=spec_path)
+        run(
+            spec_path=spec_path,
+            full_refresh=flatten_table_lists(args.full_refresh),

Review Comment:
   This is for the case if user provide the same args multiple times.
   Ex: (`--full_refresh: "a,b"` `--full_refresh: "c,d"`). Then we will receive 
a nested list `[["a","b"],["c"]]`. Need to perform a flattening to transform it 
into a 1D list.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to