aviemzur commented on a change in pull request #59:
URL: https://github.com/apache/incubator-liminal/pull/59#discussion_r672879307



##########
File path: tests/runners/airflow/tasks/test_spark_task.py
##########
@@ -57,26 +154,27 @@ def test_get_runnable_command(self):
             [],
             trigger_rule='all_success',
             liminal_config={},
-            pipeline_config={},
+            pipeline_config={'pipeline': 'pipeline'},
             task_config=task_config
         ).get_runnable_command()
 
         self.assertEqual(actual.sort(), expected.sort())
 
+
     def test_missing_spark_arguments(self):
         task_config = {
             'application_source': 'my_app.py',
             'application_arguments': {
-                '--query': "select * from 
dlk_visitor_funnel_dwh_staging.fact_events where unified_Date_prt >= "
-                           "'{{yesterday_ds}}'",
+                '--query': "select * from 
dlk_visitor_funnel_dwh_staging.fact_events where"
+                           " unified_Date_prt >= '{{yesterday_ds}}'",
                 '--output': 'mytable'
             }
         }
 
         expected = ['spark-submit', 'my_app.py',
                     '--query',
-                    "select * from dlk_visitor_funnel_dwh_staging.fact_events 
where unified_Date_prt >="
-                    " '{{yesterday_ds}}'",
+                    "select * from dlk_visitor_funnel_dwh_staging.fact_events 
where "

Review comment:
       Can we make the table/column/database names more generic? Looks like 
this was lifted from a fork.




-- 
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]


Reply via email to