shubham-tomar commented on issue #291: URL: https://github.com/apache/iceberg-go/issues/291#issuecomment-2668422398
Also, i faced issue with RenameTable function type payload struct { Source identifier `json:"source"` Destination identifier `json:"destination"` } above payload works but we have **from, to**, is this changed recently? should i add this in the same PR? ``` > curl -X POST "http://localhost:19120/iceberg/v1/main/tables/rename" \ -H "Content-Type: application/json" \ -d '{ "source": { "namespace": ["my_namespace_1"], "name": "my_table_v2" }, "destination": { "namespace": ["my_namespace_1"], "name": "my_table_v3" } }' This works, but below curl fails > curl -X POST "http://localhost:19120/iceberg/v1/main/tables/rename" \ -H "Content-Type: application/json" \ -d '{ "from": { "namespace": ["my_namespace_1"], "name": "my_table_v2" }, "to": { "namespace": ["my_namespace_1"], "name": "my_table_v3" } }' { "error" : { "message" : "HTTP 400 Bad Request", "type" : "WebApplicationException", "code" : 500 } }% ``` -- 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 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