TennyZhuang commented on PR #884:
URL: https://github.com/apache/iceberg-rust/pull/884#issuecomment-2586026257
I am not sure if this is a server issue or a client issue, more research is
needed.
If only one snapshot_id is passed, it can be successful.
```
table: TableIdent { namespace: NamespaceIdent(["data", "other"]), name:
"1m_market_return_10m" }, snapshot_ids: [3419887305852055718,
3557841878473470571, 1963578191607528169, 3970602252979962677,
2254539859506811453, 7503617340073624129, 4090418433635376432,
3991054311210587887, 8251276597814139233, 1287384849826930466]
Error: Unexpected => Failed to parse response from rest catalog server!
Context:
code: 500 Internal Server Error
method: POST
url:
http://cp28:8182/v1/namespaces/data%1Fother/tables/1m_market_return_10m
json: <html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"/>
<title>Error 500 java.lang.IllegalArgumentException: Invalid set of snapshot
ids to remove. Expected one value but received: [3419887305852055718,
3557841878473470571, 1963578191607528169, 3970602252979962677,
2254539859506811453, 7503617340073624129, 4090418433635376432,
3991054311210587887, 8251276597814139233, 1287384849826930466]</title>
</head>
<body><h2>HTTP ERROR 500 java.lang.IllegalArgumentException: Invalid set of
snapshot ids to remove. Expected one value but received: [3419887305852055718,
3557841878473470571, 1963578191607528169, 3970602252979962677,
2254539859506811453, 7503617340073624129, 4090418433635376432,
3991054311210587887, 8251276597814139233, 1287384849826930466]</h2>
<table>
<tr><th>URI:</th><td>/v1/namespaces/data%1Fother/tables/1m_market_return_10m</td></tr>
<tr><th>STATUS:</th><td>500</td></tr>
<tr><th>MESSAGE:</th><td>java.lang.IllegalArgumentException: Invalid set of
snapshot ids to remove. Expected one value but received: [3419887305852055718,
3557841878473470571, 1963578191607528169, 3970602252979962677,
2254539859506811453, 7503617340073624129, 4090418433635376432,
3991054311210587887, 8251276597814139233, 1287384849826930466]</td></tr>
<tr><th>SERVLET:</th><td>org.apache.iceberg.rest.RESTCatalogServlet-7d9f158f</td></tr>
<tr><th>CAUSED BY:</th><td>java.lang.IllegalArgumentException: Invalid set
of snapshot ids to remove. Expected one value but received:
[3419887305852055718, 3557841878473470571, 1963578191607528169,
3970602252979962677, 2254539859506811453, 7503617340073624129,
4090418433635376432, 3991054311210587887, 8251276597814139233,
1287384849826930466]</td></tr>
</table>
<hr><a href="https://eclipse.org/jetty">Powered by Jetty:// 11.0.0</a><hr/>
</body>
</html>
Source: expected value at line 1 column 1
```
--
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]