As of now, in case the stream config values for Parquet Data Source such as SOURCE_PARQUET_FILE_PATHS or SOURCE_PARQUET_SCHEMA_MATCH_STRATEGY are defined with extra whitespace in their values or invalid values, a NullPointer exception is thrown.
We should ideally throw a generic exception which explicitly tells that the config value is invalid. In case of whitespaces, we should trim.
As of now, in case the stream config values for Parquet Data Source such as
SOURCE_PARQUET_FILE_PATHSorSOURCE_PARQUET_SCHEMA_MATCH_STRATEGYare defined with extra whitespace in their values or invalid values, a NullPointer exception is thrown.We should ideally throw a generic exception which explicitly tells that the config value is invalid. In case of whitespaces, we should trim.