File tree Expand file tree Collapse file tree 4 files changed +4
-6
lines changed
rai-sdk/src/main/java/com/relationalai Expand file tree Collapse file tree 4 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 1616
1717package com .relationalai ;
1818
19- import com .jsoniter .any .Any ;
2019import com .jsoniter .spi .JsonException ;
2120import org .apache .arrow .memory .RootAllocator ;
2221import org .apache .arrow .vector .FieldVector ;
@@ -318,7 +317,7 @@ private List<Object> parseProblemsResult(String rsp) {
318317 try {
319318 output .add (Json .deserialize (data , IntegrityConstraintViolation .class ));
320319 } catch (JsonException e ) {
321- output .add (Json .deserialize (data , Problem .class ));
320+ output .add (Json .deserialize (data , ClientProblem .class ));
322321 }
323322 }
324323 return output ;
Original file line number Diff line number Diff line change 1818
1919import com .jsoniter .annotation .JsonProperty ;
2020
21- public class Problem extends Entity {
21+ public class ClientProblem extends Entity {
2222 @ JsonProperty (value = "type" , required = true )
2323 public String type ;
2424
@@ -37,5 +37,5 @@ public class Problem extends Entity {
3737 @ JsonProperty (value = "report" , required = true )
3838 public String report ;
3939
40- public Problem () {}
40+ public ClientProblem () {}
4141}
Original file line number Diff line number Diff line change 66import java .io .ByteArrayInputStream ;
77import java .io .ByteArrayOutputStream ;
88import java .io .IOException ;
9- import java .io .UnsupportedEncodingException ;
109import java .net .http .HttpResponse ;
1110import java .nio .charset .StandardCharsets ;
1211import java .util .ArrayList ;
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ public class TransactionResult extends Entity {
2626 public Relation [] output ;
2727
2828 @ JsonProperty (value = "problems" , required = true )
29- public Problem [] problems ;
29+ public ClientProblem [] problems ;
3030
3131 public TransactionResult () {}
3232}
You can’t perform that action at this time.
0 commit comments