ajantha-bhat commented on issue #8614:
URL: https://github.com/apache/iceberg/issues/8614#issuecomment-1732995997

   Strange, I tried adding the below tetscase in 
`TestSetWriteDistributionAndOrdering` on latest master code. 
   It didn't reproduce :( 
   
   ```
   @Test
     public void testDeletingOldSortOrderColumn() {
       sql("CREATE TABLE IF NOT EXISTS %s (username string, firstname string, 
lastname string) USING ICEBERG TBLPROPERTIES('format-version' = '1')", 
tableName);
       sql("INSERT INTO %s VALUES('krisnova', 'Kris', 'Nova')", tableName);
       sql("ALTER TABLE %s WRITE ORDERED BY lastname", tableName);
       sql("ALTER TABLE %s RENAME COLUMN lastname TO deprecated_lastname", 
tableName);
       sql("SELECT * FROM %s", tableName);
       sql("ALTER TABLE %s WRITE ORDERED BY username", tableName);
       sql("ALTER TABLE %s DROP COLUMN deprecated_lastname", tableName);
       spark.sql("SELECT * FROM " + tableName).show(200, false);
     }
     ```


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

Reply via email to