引导式测验 · 中等 等级

Parquet 与列式格式用于机器学习数据测验

了解 Parquet 的列块、行组、压缩和修剪,然后根据实际的 ML 工作负载测试性能。

问题 1 的 8

Parquet 文件中的数据是如何组织的?

预览每个问题8 问题

当您参加测验时,就会出现答案和解释。

  1. Parquet 文件中的数据是如何组织的?
    • Only as comma-separated text lines
    • As one unstructured binary blob
    • As one database row per file
    • Into row groups containing column chunks, which contain pages
  2. Why can columnar storage help a query that reads only a few fields?
    • Every row is stored as a separate file
    • A reader may fetch selected columns without reading every column’s data
    • It automatically removes all null values
    • It guarantees a faster model
  3. What role can Parquet statistics or page indexes play?
    • They provide a full database index for every query
    • They guarantee zero I/O
    • They may help compatible readers skip pages or row groups that cannot match a filter
    • They store model weights
  4. 行组包含什么?
    • A column chunk for each column in that logical row partition
    • Only metadata with no data
    • One row only
    • A separate model checkpoint
  5. Parquet 在什么情况下可能不如其他存储设计合适?
    • For any machine-learning workload
    • When data contain numeric values
    • When data are larger than a spreadsheet
    • For workloads dominated by tiny random row lookups or frequent single-row updates
  6. 为什么要对目标引擎和存储系统进行基准测试?
    • All Parquet readers behave identically
    • Compression never affects performance
    • Feature support and performance depend on reader, layout, and workload
    • Benchmarks are unrelated to data format
  7. 什么可以改进基于统计的修剪?
    • Randomizing every row across all files
    • Organizing data so common filter columns have useful value ranges
    • Removing column metadata
    • Increasing CSV quoting
  8. Does Parquet alone provide table transactions and dataset version history?
    • No; those require surrounding table-management or catalog features
    • Yes, every Parquet file has ACID transactions
    • Yes, it stores every prior dataset version forever
    • No, because Parquet cannot store schemas