code: public static Schema toDatavecSchema(org.apache.arrow.vector.types.pojo.Schema schema) {
          Schema.Builder schemaBuilder = new Schema.Builder();
          for (int i = 0; i < schema.getFields().size(); i++) {
              schemaBuilder.addColumn(metaDataFromField(schema.getFields().get(i)));
          }
          return schemaBuilder.build();
      }
docs: Convert an {@link org.apache.arrow.vector.types.pojo.Schema}
  to a datavec {@link Schema}
  @param schema the input arrow schema
  @return the equivalent datavec schema