shahar1 commented on PR #61124: URL: https://github.com/apache/airflow/pull/61124#issuecomment-3831378871
> get_cluster_states_for_table > Shahar I have one suggestion. In Bigtable Hooks currently we are having this `get_cluster_states_for_table` (it fetches the clusters associated with a particular table) but which is currently not used by any Operator. > > For `BigtableCreateTableOperator`, since clusters are created by default while creating a table, would it make sense to reuse this hook method and log the number (and possibly state) of clusters associated with the table after creation? > > Whats your view in this?? It's being used in the `BigtableTableReplicationCompletedSensor` sensor. I don't think it makes sense to be used in `BigtableCreateTableOperator`, as clusters are not created by default (you run `hook.get_instance()` to get them, they are not auto-provisioned). -- 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]
