danhuawang commented on issue #5655:
URL: https://github.com/apache/gravitino/issues/5655#issuecomment-3208823362

   > [@danhuawang](https://github.com/danhuawang) This error is expected, 
What's the problems? In pg ,is the error too
   > 
   > ```
   > gt_metastore=> CREATE TABLE tb03 (
   > gt_metastore(>     id INT,
   > gt_metastore(>     name VARCHAR(50)
   > gt_metastore(> );
   > CREATE TABLE
   > gt_metastore=> select * from tb03;
   >  id | name
   > ----+------
   > (0 rows)
   > 
   > gt_metastore=> INSERT INTO tb02 (id, name) VALUES (1, NULL);
   > INSERT 0 1
   > gt_metastore=> ALTER TABLE gt_postgresql.gt_db1.tb02 ADD COLUMN gender 
boolean NOT NULL;
   > ERROR:  cross-database references are not implemented: 
"gt_postgresql.gt_db1.tb02"
   > gt_metastore=> ALTER TABLE tb02 ADD COLUMN gender boolean NOT NULL;
   > ERROR:  column "gender" contains null values
   > ```
   
   Yes, you are right. It's my misunderstanding. 


-- 
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]

Reply via email to