1
1
mirror of https://github.com/wader/fq.git synced 2024-11-28 11:42:50 +03:00
fq/format/avro/testdata/twitter.fqtest
2022-02-07 17:39:37 -06:00

62 lines
6.2 KiB
Plaintext

# avro file taken from https://github.com/miguno/avro-cli-examples
$ fq dv twitter.avro
|00 01 02 03 04 05 06 07 08 09 0a 0b 0c 0d 0e 0f|0123456789abcdef|.{}: twitter.avro (avro_ocf) 0x0-0x21e.7 (543)
0x000|4f 62 6a 01 |Obj. | magic: raw bits (valid) 0x0-0x3.7 (4)
| | | header{}: 0x4-0x1a7.7 (420)
| | | meta[0:2]: 0x4-0x197.7 (404)
| | | [0]{}: block 0x4-0x196.7 (403)
0x000| 04 | . | count: 2 0x4-0x4.7 (1)
| | | data[0:2]: 0x5-0x196.7 (402)
| | | [0]{}: entry 0x5-0x186.7 (386)
| | | key{}: 0x5-0x10.7 (12)
0x000| 16 | . | length: 11 0x5-0x5.7 (1)
0x000| 61 76 72 6f 2e 73 63 68 65 6d| avro.schem| data: "avro.schema" 0x6-0x10.7 (11)
0x010|61 |a |
| | | value{}: 0x11-0x186.7 (374)
0x010| e8 05 | .. | length: 372 0x11-0x12.7 (2)
0x010| 7b 22 74 79 70 65 22 3a 22 72 65 63 6f| {"type":"reco| data: "{\"type\":\"record\",\"name\":\"twitter_schema\",\"namespac"... 0x13-0x186.7 (372)
0x020|72 64 22 2c 22 6e 61 6d 65 22 3a 22 74 77 69 74|rd","name":"twit|
* |until 0x186.7 (372) | |
| | | [1]{}: entry 0x187-0x196.7 (16)
| | | key{}: 0x187-0x191.7 (11)
0x180| 14 | . | length: 10 0x187-0x187.7 (1)
0x180| 61 76 72 6f 2e 63 6f 64| avro.cod| data: "avro.codec" 0x188-0x191.7 (10)
0x190|65 63 |ec |
| | | value{}: 0x192-0x196.7 (5)
0x190| 08 | . | length: 4 0x192-0x192.7 (1)
0x190| 6e 75 6c 6c | null | data: "null" 0x193-0x196.7 (4)
| | | [1]{}: block 0x197-0x197.7 (1)
0x190| 00 | . | count: 0 0x197-0x197.7 (1)
| | | data[0:0]: 0x198-NA (0)
0x190| 67 c7 35 29 73 ef df 94| g.5)s...| sync: raw bits 0x198-0x1a7.7 (16)
0x1a0|ad d3 00 7e 9e eb ff ae |...~.... |
| | | blocks[0:1]: 0x1a8-0x21e.7 (119)
| | | [0]{}: block 0x1a8-0x21e.7 (119)
0x1a0| 04 | . | count: 2 0x1a8-0x1a8.7 (1)
0x1a0| c8 01 | .. | size: 100 0x1a9-0x1aa.7 (2)
| | | data[0:2]: 0x1ab-0x20e.7 (100)
| | | [0]{}: datum 0x1ab-0x1da.7 (48)
| | | username{}: 0x1ab-0x1b1.7 (7)
0x1a0| 0c | . | length: 6 0x1ab-0x1ab.7 (1)
0x1a0| 6d 69 67 75| migu| data: "miguno" 0x1ac-0x1b1.7 (6)
0x1b0|6e 6f |no |
| | | tweet{}: 0x1b2-0x1d5.7 (36)
0x1b0| 46 | F | length: 35 0x1b2-0x1b2.7 (1)
0x1b0| 52 6f 63 6b 3a 20 4e 65 72 66 20 70 61| Rock: Nerf pa| data: "Rock: Nerf paper, scissors is fine." 0x1b3-0x1d5.7 (35)
0x1c0|70 65 72 2c 20 73 63 69 73 73 6f 72 73 20 69 73|per, scissors is|
0x1d0|20 66 69 6e 65 2e | fine. |
0x1d0| b2 b8 ee 96 0a | ..... | timestamp: 1366150681 0x1d6-0x1da.7 (5)
| | | [1]{}: datum 0x1db-0x20e.7 (52)
| | | username{}: 0x1db-0x1e5.7 (11)
0x1d0| 14 | . | length: 10 0x1db-0x1db.7 (1)
0x1d0| 42 6c 69 7a| Bliz| data: "BlizzardCS" 0x1dc-0x1e5.7 (10)
0x1e0|7a 61 72 64 43 53 |zardCS |
| | | tweet{}: 0x1e6-0x209.7 (36)
0x1e0| 46 | F | length: 35 0x1e6-0x1e6.7 (1)
0x1e0| 57 6f 72 6b 73 20 61 73 20| Works as | data: "Works as intended. Terran is IMBA." 0x1e7-0x209.7 (35)
0x1f0|69 6e 74 65 6e 64 65 64 2e 20 20 54 65 72 72 61|intended. Terra|
0x200|6e 20 69 73 20 49 4d 42 41 2e |n is IMBA. |
0x200| e2 f3 ee 96 0a | ..... | timestamp: 1366154481 0x20a-0x20e.7 (5)
0x200| 67| g| sync: raw bits (valid) 0x20f-0x21e.7 (16)
0x210|c7 35 29 73 ef df 94 ad d3 00 7e 9e eb ff ae| |.5)s......~....||