rafi12396 opened a new issue, #12661:
URL: https://github.com/apache/iceberg/issues/12661

   ### Apache Iceberg version
   
   1.6.1
   
   ### Query engine
   
   Spark
   
   ### Please describe the bug 🐞
   
   py4j.protocol.Py4JJavaError: An error occurred while calling o236.sql.
   : java.lang.IllegalStateException: Couldn't find category#46 in 
[ref_no#545,transction_id#546,category#552,_file#560,ref_no#145,transction_id#70]
   
   The spark code is below:
   spark.sql(f"""
           merge into {db_name}.{table_name} as t
           using account_df_view as s
           on t.category = s.category and t.unique_id_=s.unique_id_
           when matched then update set
               t.count=10
       """)
   
   Spark version: 3.5.2
   
   ### Willingness to contribute
   
   - [ ] I can contribute a fix for this bug independently
   - [ ] I would be willing to contribute a fix for this bug with guidance from 
the Iceberg community
   - [x] I cannot contribute a fix for this bug at this time


-- 
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: issues-unsubscr...@iceberg.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@iceberg.apache.org
For additional commands, e-mail: issues-h...@iceberg.apache.org

Reply via email to