Maybe this should be called saveAsTable, to be similar to the Parquet files. Actually in saveAsParquetFile you could also add an optional parameter to register the file as a table, and then you'd have no need for createParquetFile.