{"success":true,"data":{"ext":"parquet","name":"PARQUET","description":"Apache Parquet is an open-source columnar data file format developed within the Apache Hadoop ecosystem and maintained by the Apache Software Foundation community. It is used for efficient storage and retrieval of structured data in analytics pipelines, data lakes, and distributed processing systems such as Apache Spark, Hive, and Impala. The format is generally safe, though files from untrusted sources should still be handled carefully because malformed data can affect parsers or downstream tools.","mime":["application/x-parquet"],"risk_level":"Safe","signatures":[{"hex":"50 41 52 31","offset":0,"sources":[{"name":"Apache Tika","url":"https://raw.githubusercontent.com/apache/tika/main/tika-core/src/main/resources/org/apache/tika/mime/tika-mimetypes.xml"}]}],"related":[],"usage":{"python":"def is_parquet(file_path: str) -> bool:\n    \"\"\"Check if file is a valid PARQUET by magic bytes.\"\"\"\n    signature = bytes([0x50, 0x41, 0x52, 0x31])\n    with open(file_path, \"rb\") as f:\n        return f.read(4) == signature","node":"function isPARQUET(buffer: Buffer): boolean {\n  const signature = Buffer.from([0x50, 0x41, 0x52, 0x31]);\n  return buffer.subarray(0, 4).equals(signature);\n}","go":"func IsPARQUET(data []byte) bool {\n    signature := []byte{0x50, 0x41, 0x52, 0x31}\n    if len(data) < 4 {\n        return false\n    }\n    return bytes.Equal(data[:4], signature)\n}"}}}