请问,为什么会去匹配一个毫无关联的物化视图,而不去找相似的物化视图
CREATE MATERIALIZED VIEW reportview.discounts_test_owner
BUILD IMMEDIATE REFRESH AUTO ON SCHEDULE EVERY 10 MINUTE
DUPLICATE KEY(fld_guid
)
COMMENT '新优惠查询'
DISTRIBUTED BY HASH(fld_guid
) BUCKETS 8
PROPERTIES (
"replication_allocation" = "tag.location.default: 1",
"min_load_replica_num" = "-1",
"is_being_synced" = "false",
"storage_medium" = "hdd",
"storage_format" = "V2",
"inverted_index_storage_format" = "V1",
"light_schema_change" = "true",
"disable_auto_compaction" = "false",
"enable_single_replica_compaction" = "false",
"group_commit_interval_ms" = "10000",
"group_commit_data_bytes" = "134217728"
) as SELECT
fee.fld_guid,fee.fld_dq,
fee.fld_ywdy,
fee.fld_company,
fee.fld_xm,
fee.fld_area_name,
fee.fld_owner_name,
fee.fld_project_guid,
fee.fld_project_name,
fee.fld_amount,
fld_adjust_guid,
fld_rebate_type_guid,
r.fld_approve_date
FROM bj_sjzt_db.zhcx_owner_incoming_alldata fee
left join bj_sjzt_db.discounts_test r on fee.fld_guid = r.fld_guid
explain
SELECT
fee.fld_guid,fee.fld_dq,
fee.fld_ywdy,
fee.fld_company,
fee.fld_xm,
fee.fld_area_name,
fee.fld_owner_name,
fee.fld_project_guid,
fee.fld_project_name,
fee.fld_amount,
fld_adjust_guid,
fld_rebate_type_guid,
r.fld_approve_date
FROM bj_sjzt_db.zhcx_owner_incoming_alldata fee
left join bj_sjzt_db.discounts_test r on fee.fld_guid = r.fld_guid