hi !
BinaryObjectBuilder oldBuilder =
igniteClient.binary().builder(«com.inspur...PubPartitionKeys_1_7»);
do you call:
oldBuilder.build(); // after ?
If so — what this mean ? «data is not mapped to sql» is it error in log or
client side or smth ?
thanks !
>Hi,
>
>I have had the same experience without sql, using KV API only. My cluster
>consists of several data nodes and self-written jar application that starts
>the client node. When started, client node executes mapreduce tasks for data
>load and processing.
>
>The workaround is as follows:
>1. create POJO on the client node;
>2. convert it to the binary object;
>3. on the data node, get binary object over the network and get its builder
>(obj.toBuilder());
>4. set some fields, build and put in the cache.
>
>The builder on the step 3 seems to be the same as the one on the cluent node.
>
>Hope that helps,
>Vladimir
> 13:06, 18 апреля 2022 г., y < hty1994...@163.com >:
>>Hi ,
>>When using binary to insert data, I need to get an exist
>>BinaryObject/BinaryObjectBuilder from the database, similar to the code
>>below.
>>442062c6$3$1803c222cba$Coremail$hty1994712$163.com
>>
>>If I create a BinaryObjectBuilder directly, inserting binary data does not
>>map to table data. The following code will not throw error, but the data is
>>not mapped to sql. If there is no data in my table at first , how can I
>>insert data?
>>3ecbd8f9$4$1803c222cba$Coremail$hty1994712$163.com
>>
>>
>>
>
>--
>Отправлено из мобильного приложения Яндекс Почты