Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Drill >> mail # user >> Schema discovery

Copy link to this message
Re: Schema discovery
A recent blog post by Daniel Abadi has a similar theme:


We could create a tool that scans the raw files and generates an Optiq schema that contains views that apply "late schema" (the "EMP" and "DEPT" views in https://raw.github.com/apache/incubator-drill/HEAD/sqlparser/src/test/resources/test-models.json are examples of this). The user could interactively modify that schema (e.g. change a column's type from string to boolean or integer).

It's a nice approach because it doesn't impact the Drill engine. This is good. Metadata and data should be kept separate wherever possible.