![]() ![]() ![]() option( "workbookPassword ", "pass ") // Optional, default None. If set and if schema inferred, number of rows to infer schema from option( "excerptSize ", 10) // Optional, default: 10. Spark plugin for busycal zip#Number of bytes at which a zip entry is regarded as too large for holding in memory and the data is put in a temp file instead option( "tempFileThreshold ", 10000000) // Optional, default None. option( "maxByteArraySize ", 2147483647) // Optional, default None. If set, uses a streaming reader which can help with big files (will fail if used with xls format files) option( "maxRowsInMemory ", 20) // Optional, default None. ![]() option( "timestampFormat ", "MM-dd-yyyy HH:mm:ss ") // Optional, default: yyyy-mm-dd hh:mm:ss option( "addColorColumns ", "true ") // Optional, default: false option( "inferSchema ", "false ") // Optional, default: false option( "usePlainNumberFormat ", "false ") // Optional, default: false, If true, format the cells without rounding and scientific notations #N/A) will be converted to the zero values of the column's data type. option( "setErrorCellsToFallbackValues ", "true ") // Optional, default: false, where errors will be converted to null. option( "treatEmptyValuesAsNulls ", "false ") // Optional, default: true option( "dataAddress ", "'My Sheet'!B3:C35 ") // Optional, default: "A1" _ val spark : SparkSession = ? val df = spark.read ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |