mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-09-25 17:04:54 +00:00
fix: default to raw dataset (#20192)
This commit is contained in:
parent
e0a38e1146
commit
1a18c7d7f8
@ -153,7 +153,10 @@ class SQASampler(SamplerInterface, SQAInterfaceMixin):
|
|||||||
if self.sample_query:
|
if self.sample_query:
|
||||||
return self._rdn_sample_from_user_query()
|
return self._rdn_sample_from_user_query()
|
||||||
|
|
||||||
if not self.sample_config.profileSample:
|
if not self.sample_config.profileSample or (
|
||||||
|
self.sample_config.profileSampleType == ProfileSampleType.PERCENTAGE
|
||||||
|
and self.sample_config.profileSample == 100
|
||||||
|
):
|
||||||
if self.partition_details:
|
if self.partition_details:
|
||||||
partitioned = self._partitioned_table()
|
partitioned = self._partitioned_table()
|
||||||
return partitioned.cte(f"{self.get_sampler_table_name()}_partitioned")
|
return partitioned.cte(f"{self.get_sampler_table_name()}_partitioned")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user