Sql transform
SQL Transform module
SQL Transform module provides an easy interface to transform a dataframe using SQL. This SQL can originate from a string or a file and may contain placeholders for templating.
koheesio.spark.transformations.sql_transform.SqlTransform #
SQL Transform module provides an easy interface to transform a dataframe using SQL.
This SQL can originate from a string or a file and may contain placeholder (parameters) for templating.
- Placeholders are identified with
${placeholder}
. - Placeholders can be passed as explicit params (params) or as implicit params (kwargs).
Example sql script: