airflow-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel van der Ende (JIRA)" <>
Subject [jira] [Created] (AIRFLOW-378) Spark-sql operator does not allow integer parameters
Date Thu, 28 Jul 2016 13:00:24 GMT
Daniel van der Ende created AIRFLOW-378:

             Summary: Spark-sql operator does not allow integer parameters
                 Key: AIRFLOW-378
             Project: Apache Airflow
          Issue Type: Bug
          Components: contrib, hooks, operators
            Reporter: Daniel van der Ende
            Assignee: Daniel van der Ende

The Spark-sql hook-operator pair contains two parameters whose type is marked to be integer,
but that actually cause errors when integers are passed (params in question: executor_cores
and num_executors). These need to be cast to string to be able to execute spark-sql with the
CLI binary.

Also, the num_executors parameter has a minor typo which causes it to break when someone tries
to use this.

This message was sent by Atlassian JIRA

View raw message