Skip to content

Instantly share code, notes, and snippets.

@predictioniogists
Created April 1, 2015 23:48
Show Gist options
  • Save predictioniogists/272da0690dab8fd5b0ab to your computer and use it in GitHub Desktop.
Save predictioniogists/272da0690dab8fd5b0ab to your computer and use it in GitHub Desktop.
Parquet schema example
$ parquet.tools.Main schema part-r-1.parquet
message root { optional binary creationTime (UTF8); optional binary entityId (UTF8); optional binary entityType (UTF8); optional binary event (UTF8); optional binary eventId (UTF8); optional binary eventTime (UTF8); optional group properties { optional binary city (UTF8); optional double rating; optional binary spend (UTF8); optional binary state (UTF8); optional binary store (UTF8); optional binary customer (UTF8) } optional binary targetEntityId (UTF8); optional binary targetEntityType (UTF8); }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment