The create-dataset maven mojo only supports setting the Dataset schema through reflection, or by using a local file. Here's the local file logic:
This doesn't matter for FS Datasets, because there is always a HDFS schema URL, but it is a known problem for Hive (
CDK-142). It also causes warning messages when using the log4j appender because the schema literal is attached to each message ( CDK-269).