Skip to content

Instantly share code, notes, and snippets.

@javier
Created January 10, 2024 11:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save javier/549a6b3716b095dfe5028e7bb5d5115b to your computer and use it in GitHub Desktop.
Save javier/549a6b3716b095dfe5028e7bb5d5115b 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