Skip to content

Instantly share code, notes, and snippets.

@woss
Forked from javier/Exif-questdb-schema.sql
Created January 11, 2024 14:40
Show Gist options
  • Save woss/df03fe8bfdaddc8606ed1d562120f90f to your computer and use it in GitHub Desktop.
Save woss/df03fe8bfdaddc8606ed1d562120f90f to your computer and use it in GitHub Desktop.
Exif-questdb-schema
CREATE TABLE CameraDetails (
Manufacturer SYMBOL,
Model SYMBOL,
Orientation SYMBOL,
Software STRING,
DateAndTime timestamp,
YCbCrPositioning SYMBOL,
Compression SYMBOL,
XResolution LONG,
YResolution LONG,
ResolutionUnit SYMBOL,
ExposureTime STRING,
FNumber STRING,
ExposureProgram STRING,
ExifVersion SYMBOL,
DateAndTimeOriginal TIMESTAMP,
DateAndTimeDigitized TIMESTAMP,
ComponentsConfiguration SYMBOL,
CompressedBitsPerPixel DOUBLE,
ExposureBias DOUBLE,
MaxApertureValue DOUBLE,
MeteringMode SYMBOL,
Flash SYMBOL,
FocalLength SYMBOL,
MakerNote BINARY,
FlashPixVersion SYMBOL,
ColorSpace SYMBOL,
PixelXDimension INT,
PixelYDimension INT,
FileSource SYMBOL,
InteroperabilityIndex SYMBOL,
InteroperabilityVersion SYMBOL
) timestamp (DateAndTimeOriginal) PARTITION BY DAY WAL;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment