| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class ParquetInputFormat extends OrcInputFormat |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @param FlattenSpec|null $flattenSpec Define a flattenSpec to extract nested values from a Parquet file. Note |
||
| 10 | * that only 'path' expression are supported ('jq' is unavailable). |
||
| 11 | * @param bool|null $binaryAsString Specifies if the bytes parquet column which is not logically marked as a |
||
| 12 | * string or enum type should be treated as a UTF-8 encoded string. |
||
| 13 | */ |
||
| 14 | 1 | public function __construct(FlattenSpec $flattenSpec = null, bool $binaryAsString = null) |
|
| 17 | } |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Return the ParquetInputFormat so that it can be used in a druid query. |
||
| 21 | * |
||
| 22 | * @return array<string,string|array<string,bool|array<array<string,string>>>|bool> |
||
| 23 | */ |
||
| 24 | 1 | public function toArray(): array |
|
| 30 | } |
||
| 31 | } |