mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-10-11 16:58:38 +00:00
fix pbi, vertica, metabase tests (#20190)
This commit is contained in:
parent
4093dcb11a
commit
aedbe8be2d
@ -75,7 +75,7 @@ class MetabaseCliTest(CliCommonDashboard.TestSuite):
|
|||||||
return 4
|
return 4
|
||||||
|
|
||||||
def expected_filtered_sink_mix(self) -> int:
|
def expected_filtered_sink_mix(self) -> int:
|
||||||
return 7
|
return 8
|
||||||
|
|
||||||
def expected_dashboards_and_charts_after_patch(self) -> int:
|
def expected_dashboards_and_charts_after_patch(self) -> int:
|
||||||
return 0
|
return 0
|
||||||
|
@ -55,7 +55,7 @@ class PowerBICliTest(CliCommonDashboard.TestSuite):
|
|||||||
return []
|
return []
|
||||||
|
|
||||||
def expected_datamodels(self) -> int:
|
def expected_datamodels(self) -> int:
|
||||||
return 23
|
return 26
|
||||||
|
|
||||||
def expected_dashboards_and_charts(self) -> int:
|
def expected_dashboards_and_charts(self) -> int:
|
||||||
return 79
|
return 79
|
||||||
@ -64,13 +64,13 @@ class PowerBICliTest(CliCommonDashboard.TestSuite):
|
|||||||
return 44
|
return 44
|
||||||
|
|
||||||
def expected_datamodel_lineage(self) -> int:
|
def expected_datamodel_lineage(self) -> int:
|
||||||
return 36
|
return 38
|
||||||
|
|
||||||
def expected_tags(self) -> int:
|
def expected_tags(self) -> int:
|
||||||
return 0
|
return 0
|
||||||
|
|
||||||
def expected_filtered_mix(self) -> int:
|
def expected_filtered_mix(self) -> int:
|
||||||
return 28
|
return 29
|
||||||
|
|
||||||
def expected_filtered_sink_mix(self) -> int:
|
def expected_filtered_sink_mix(self) -> int:
|
||||||
return 64
|
return 64
|
||||||
|
@ -24,14 +24,14 @@ from .common_e2e_sqa_mixins import SQACommonMethods
|
|||||||
|
|
||||||
class VerticaCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
class VerticaCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
||||||
create_table_query: str = """
|
create_table_query: str = """
|
||||||
CREATE TABLE vendor_dimension_new AS
|
CREATE TABLE IF NOT EXISTS vendor_dimension_new AS
|
||||||
SELECT *
|
SELECT *
|
||||||
FROM vendor_dimension
|
FROM vendor_dimension
|
||||||
WHERE 1=0;
|
WHERE 1=0;
|
||||||
"""
|
"""
|
||||||
|
|
||||||
create_view_query: str = """
|
create_view_query: str = """
|
||||||
CREATE VIEW vendor_dimension_v AS
|
CREATE OR REPLACE VIEW vendor_dimension_v AS
|
||||||
SELECT vendor_key, vendor_name
|
SELECT vendor_key, vendor_name
|
||||||
FROM public.vendor_dimension_new;
|
FROM public.vendor_dimension_new;
|
||||||
"""
|
"""
|
||||||
@ -74,7 +74,7 @@ class VerticaCliTest(CliCommonDB.TestSuite, SQACommonMethods):
|
|||||||
return 2
|
return 2
|
||||||
|
|
||||||
def expected_lineage_node(self) -> str:
|
def expected_lineage_node(self) -> str:
|
||||||
return "e2e_vertica.VMart.public.vendor_dimension"
|
return "e2e_vertica.VMart.public.vendor_dimension_v"
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def fqn_created_table() -> str:
|
def fqn_created_table() -> str:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user