Java Code Examples for org.apache.parquet.hadoop.example.GroupWriteSupport#getSchema()
The following examples show how to use
org.apache.parquet.hadoop.example.GroupWriteSupport#getSchema() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TestZstandardCodec.java From parquet-mr with Apache License 2.0 | 4 votes |
public void configure(JobConf job) { factory = new SimpleGroupFactory(GroupWriteSupport.getSchema(job)); }
Example 2
Source File: DeprecatedOutputFormatTest.java From parquet-mr with Apache License 2.0 | 4 votes |
public void configure(JobConf job) { factory = new SimpleGroupFactory(GroupWriteSupport.getSchema(job)); }
Example 3
Source File: DeprecatedInputFormatTest.java From parquet-mr with Apache License 2.0 | 4 votes |
protected void setup(Context context) throws IOException, InterruptedException { factory = new SimpleGroupFactory(GroupWriteSupport.getSchema(ContextUtil.getConfiguration(context))); }