airflow-clickhouse-plugin icon indicating copy to clipboard operation
airflow-clickhouse-plugin copied to clipboard

fix for boolean type conversion

Open akurdyukov opened this issue 1 year ago • 2 comments

Fix for #77

akurdyukov avatar Mar 05 '24 10:03 akurdyukov

Thanks for the review! I fixed most of review comments.

Regarding the first one about the method of passing arguments to clickhouse_driver.Client - currently there's 23 arguments, most of them are optionals. So, minimal boilerplate version should use something like Pydantic. And it looks like a little overkill to me. What do you think?

akurdyukov avatar Mar 19 '24 06:03 akurdyukov

Regarding the first one about the method of passing arguments to clickhouse_driver.Client - currently there's 23 arguments, most of them are optionals. So, minimal boilerplate version should use something like Pydantic. And it looks like a little overkill to me. What do you think?

Hi @akurdyukov, yes, definitely using an external library is an overkill here. I suggest to hardcode all the arguments: clickhouse-driver is not expected to change them often, so we may accept new PRs once the arguments change in the underlying library.

bryzgaloff avatar Apr 10 '24 17:04 bryzgaloff