stalary commented on PR #9206: URL: https://github.com/apache/incubator-doris/pull/9206#issuecomment-1108041456
mysql> CREATE POLICY test_row_policy ON table1 AS PERMISSIVE TO root USING
(id in (1, 2) and col1='col1_1');
mysql> explain select * from table1;
```sql
+--------------------------------------------------------------------------------------------------------------------------------------+
| Explain String
|
+--------------------------------------------------------------------------------------------------------------------------------------+
| PLAN FRAGMENT 0
|
| OUTPUT EXPRS:`default_cluster:test`.`table1`.`id` |
`default_cluster:test`.`table1`.`col1` | `default_cluster:test`.`table1`.`col2`
|
| PARTITION: UNPARTITIONED
|
|
|
| RESULT SINK
|
|
|
| 1:EXCHANGE
|
|
|
| PLAN FRAGMENT 1
|
| OUTPUT EXPRS:
|
| PARTITION: HASH_PARTITIONED: `default_cluster:test`.`table1`.`id`
|
|
|
| STREAM DATA SINK
|
| EXCHANGE ID: 01
|
| UNPARTITIONED
|
|
|
| 0:OlapScanNode
|
| TABLE: table1
|
| PREAGGREGATION: OFF. Reason: No AggregateInfo
|
| PREDICATES: `id` IN (1, 2), `col1` = 'col1_1',
`default_cluster:test.table1`.`__DORIS_DELETE_SIGN__` = 0
|
| partitions=1/1
|
| rollup: table1
|
| tabletRatio=2/10
|
| tabletList=11014,11006
|
| cardinality=2
|
| avgRowSize=4072.5
|
| numNodes=1
|
+--------------------------------------------------------------------------------------------------------------------------------------+
```
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
