mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-13 03:12:13 +00:00
We often have to examine raw values, obtained from various sources, like sstables, logs and coredumps. For some types it is quite simple to convert raw hex values to human readable ones manually (integers), for others it is very hard or simply not practical. This command-line tool aims to ease working with raw values, by providing facilities to print them in human readable form and compare them. We can extend it with more functions as needed. Examples: $ scylla_types -a print -t Int32Type b34b62d4 -1286905132 $ scylla_types -a compare -t 'ReversedType(TimeUUIDType)' b34b62d46a8d11ea0000005000237906 d00819896f6b11ea00000000001c571b b34b62d4-6a8d-11ea-0000-005000237906 > d0081989-6f6b-11ea-0000-0000001c571b Signed-off-by: Botond Dénes <bdenes@scylladb.com> Message-Id: <20200505124914.104827-1-bdenes@scylladb.com>