kinetica-protolib/src/main/java/com/streamsets/pipeline/stage/kinetica/util/KineticaTableUtils.java
private boolean typeIsNullable(JSONObject field) throws GPUdbException {
    if (field.get("type") instanceof JSONArray) {
      JSONArray columnTypes = field.getJSONArray("type");
      for (int j = 0; j < columnTypes.length(); j++) {
        String ct = (String) columnTypes.get(j);
        if (ct.equals("null")) {
          return true;
        }
      }
    }
    return false;
  }
private boolean typeIsNullable(JSONObject field) throws GPUdbException {
    if (field.get("type") instanceof JSONArray) {
      JSONArray columnTypes = field.getJSONArray("type");
      for (int j = 0; j < columnTypes.length(); j++) {
        String ct = (String) columnTypes.get(j);
        if (ct.equals("null")) {
          return true;
        }
      }
    }
    return false;
  }
private boolean typeIsNullable ( JSONObject field ) throws GPUdbException { if ( field . get ( "type" ) instanceof JSONArray ) { JSONArray columnTypes = field . getJSONArray ( "type" ) ; for ( int j = 0 ; j < columnTypes . length ( ) ; j ++ ) { String ct = ( String ) columnTypes . get ( j ) ; if ( ct . equals ( "null" ) ) { return true ; } } } return false ; }
the Avro "type" field)
the Avro type field )