mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-25 06:28:22 +00:00
MINOR: Fix E2E failures (#14940)
Co-authored-by: Ayush Shah <ayush@getcollate.io>
This commit is contained in:
parent
6bd2176c33
commit
4c537f2d68
@ -12,6 +12,9 @@ source:
|
||||
sourceConfig:
|
||||
config:
|
||||
type: DatabaseMetadata
|
||||
schemaFilterPattern:
|
||||
includes:
|
||||
- e2e_db
|
||||
sink:
|
||||
type: metadata-rest
|
||||
config: {}
|
||||
|
||||
@ -15,8 +15,6 @@ MSSQL E2E tests
|
||||
|
||||
from typing import List
|
||||
|
||||
from metadata.generated.schema.entity.data.table import Histogram
|
||||
|
||||
from .common.test_cli_db import CliCommonDB
|
||||
from .common_e2e_sqa_mixins import SQACommonMethods
|
||||
|
||||
@ -149,10 +147,10 @@ class MSSQLCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
||||
"distinctProportion": 1.0,
|
||||
"duplicateCount": None,
|
||||
"firstQuartile": 2.5,
|
||||
"histogram": Histogram(
|
||||
boundaries=["1.00 to 3.77", "3.77 and up"],
|
||||
frequencies=[1, 2],
|
||||
),
|
||||
"histogram": {
|
||||
"boundaries": ["1.000 to 3.773", "3.773 and up"],
|
||||
"frequencies": [1, 2],
|
||||
},
|
||||
"interQuartileRange": 2.0,
|
||||
"max": 5.0,
|
||||
"maxLength": None,
|
||||
|
||||
@ -15,8 +15,6 @@ Redshift E2E tests
|
||||
|
||||
from typing import List
|
||||
|
||||
from metadata.generated.schema.entity.data.table import Histogram
|
||||
|
||||
from .common.test_cli_db import CliCommonDB
|
||||
from .common_e2e_sqa_mixins import SQACommonMethods
|
||||
|
||||
@ -158,17 +156,17 @@ class RedshiftCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
||||
"distinctProportion": 1.0,
|
||||
"duplicateCount": None,
|
||||
"firstQuartile": -451.0775,
|
||||
"histogram": Histogram(
|
||||
boundaries=[
|
||||
"-999.63 to -665.73",
|
||||
"-665.73 to -331.83",
|
||||
"-331.83 to 2.06",
|
||||
"2.06 to 335.96",
|
||||
"335.96 to 669.86",
|
||||
"669.86 and up",
|
||||
"histogram": {
|
||||
"boundaries": [
|
||||
"-999.630 to -665.732",
|
||||
"-665.732 to -331.834",
|
||||
"-331.834 to 2.064",
|
||||
"2.064 to 335.962",
|
||||
"335.962 to 669.859",
|
||||
"669.859 and up",
|
||||
],
|
||||
frequencies=[3, 7, 6, 1, 2, 3],
|
||||
),
|
||||
"frequencies": [3, 7, 6, 1, 2, 3],
|
||||
},
|
||||
"interQuartileRange": 467.7975,
|
||||
"max": 856.41,
|
||||
"maxLength": None,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user