Skip to content

Commit 30719ac

Browse files
fix(databricks): fixes profile median (#12856)
1 parent 0d54352 commit 30719ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

metadata-ingestion/src/datahub/ingestion/source/ge_data_profiler.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ def _get_dataset_column_median(
602602
if not self.config.include_field_median_value:
603603
return
604604
try:
605-
if self.dataset.engine.dialect.name.lower() == SNOWFLAKE:
605+
if self.dataset.engine.dialect.name.lower() in [SNOWFLAKE, DATABRICKS]:
606606
column_profile.median = str(
607607
self.dataset.engine.execute(
608608
sa.select([sa.func.median(sa.column(column))]).select_from(

0 commit comments

Comments
 (0)