181182183184185186187188189190191
sink.beginRecord(1); sink.appendLong(2); sink.finishRecord(); String fragment = sink.commit(); // commit the table client.commitCreateTable(outputHandle, ImmutableList.of(fragment)); // Hack to work around the metastore not being configured for S3.
973974975976977978979980981982983
sink.beginRecord(7); sink.appendLong(4); sink.finishRecord(); String fragment = sink.commit(); // commit the table metadata.commitCreateTable(outputHandle, ImmutableList.of(fragment)); // load the new table
10621063106410651066106710681069107010711072
sink.appendLong(456); sink.appendDouble(98.1); sink.appendBoolean(false); sink.finishRecord(); String fragment = sink.commit(); // commit the table metadata.commitCreateTable(outputHandle, ImmutableList.of(fragment)); // load the new table
854855856857858859860861862863864
944945946947948949950951952953954
175176177178179180181182183184185
853854855856857858859860861862863
943944945946947948949950951952953
10321033103410351036103710381039104010411042
870871872873874875876877878879880