EmmyMiao87 opened a new pull request #3705:
URL: https://github.com/apache/incubator-doris/pull/3705
In materialized view 2.0, the define expr is serialized in column.
The method is that doris serialzie the origin stmt of Create Materialzied
View Stmt in RollupJobV2 and MVMeta.
The define expr will be extract from the origin stmt after meta is
deserialized.
The define expr is necessary for bitmap and hll materialized view.
For example:
MV meta: __doris_mv_bitmap_k1, bitmap_union, to_bitmap(k1)
Origin stmt: select bitmap_union(to_bitmap(k1)) from table
Deserialize meta: __doris_mv_bitmap_k1, bitmap_union, null
After extract: the define expr `to_bitmap(k1)` from origin stmt should be
extracted.
__doris_mv_bitmap_v1, bitmap_union, to_bitmap(k1) (which
comes from the origin stmt)
#3344
Change-Id: Ic2da093188d8985f5e97be5bd094e5d60d82c9a7
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]