Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG AIRFLOW_VERSION=3.1.2
ARG AIRFLOW_VERSION=3.1.4rc1
ARG PYTHON_VERSION=3.10
ARG PLATFORM=linux

Expand Down Expand Up @@ -38,7 +38,5 @@ ENV PYTHONPATH="${AIRFLOW_HOME}:$PYTHONPATH"

COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
COPY --chown=airflow:root dags ${AIRFLOW_HOME}/dags
COPY --chown=airflow:root patch/0082_3_1_0_make_bundle_name_not_nullable.py /app/.venv/lib/python3.10/site-packages/airflow/migrations/versions/0082_3_1_0_make_bundle_name_not_nullable.py
COPY --chown=airflow:root patch/dag.py /app/.venv/lib/python3.10/site-packages/airflow/models/dag.py

ENTRYPOINT ["/entrypoint.sh"]
4 changes: 1 addition & 3 deletions Dockerfile.test
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG AIRFLOW_VERSION=3.1.2
ARG AIRFLOW_VERSION=3.1.4rc1
ARG PYTHON_VERSION=3.10
ARG PLATFORM=linux

Expand Down Expand Up @@ -38,8 +38,6 @@ ENV PYTHONPATH="${AIRFLOW_HOME}:$PYTHONPATH"

COPY airflow.cfg ${AIRFLOW_HOME}/airflow.cfg
COPY --chown=airflow:root dags ${AIRFLOW_HOME}/dags
COPY --chown=airflow:root patch/0082_3_1_0_make_bundle_name_not_nullable.py /app/.venv/lib/python3.10/site-packages/airflow/migrations/versions/0082_3_1_0_make_bundle_name_not_nullable.py
COPY --chown=airflow:root patch/dag.py /app/.venv/lib/python3.10/site-packages/airflow/models/dag.py

ENV AIRFLOW_TEST_MODE=True

Expand Down
9 changes: 2 additions & 7 deletions dags/ods/kktix_ticket_orders/udfs/kktix_bq_dwd_etl.py
Original file line number Diff line number Diff line change
Expand Up @@ -375,13 +375,8 @@ def apply_heuristic_name(columns: dict) -> dict:
return updated_columns


def init_rename_column_dict(columns_array: pd.core.indexes.base.Index) -> dict:
columns_dict = {}

for item in columns_array:
columns_dict[item] = item

return columns_dict
def init_rename_column_dict(columns_array) -> dict:
return {item: item for item in columns_array}


def strip_unwanted_columns(df: pd.DataFrame) -> pd.DataFrame:
Expand Down
131 changes: 0 additions & 131 deletions patch/0082_3_1_0_make_bundle_name_not_nullable.py

This file was deleted.

Loading