apache / apache/doris

[Bug] pg table catalog wirte by doris view

Open
#62,420 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
15.9k
Forks
3.9k
Avg merge
2d 23h
Merged PRs (30d)
520

Description

### Search before asking

- [x] I had searched in the [issues](https://github.com/apache/doris/issues?q=is%3Aissue) and found no similar issues.

### Version

CREATE VIEW doris.my_view
(
col1 COMMENT "column 1",
col2 COMMENT "column 2"
)
AS
SELECT
t1.col1 AS col1,
t2.col2 AS col2
FROM table1 t1
LEFT JOIN table2 t2 ON t1.join_key = t2.join_key;

insert into pg_catalog.pg_table
select col1,col2 from doris.my_view;

### What's Wrong?

join_key unkonow column in doris.A

### What You Expected?

not found join_key

### How to Reproduce?

_No response_

### Anything Else?

_No response_

### Are you willing to submit PR?

- [x] Yes I am willing to submit a PR!

### Code of Conduct

- [x] I agree to follow this project's [Code of Conduct](https://www.apache.org/foundation/policies/conduct)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.