Please enable JavaScript to view this site.

Error itgendoc001X

xMsg javascript has not been loaded.

NASA Data Model

Navigation: Schema: NASA > Tables

mars_rover_photos: NASA Mars Rover Photos

Contents Previous Home Next More

Catalog: NASA

Schema: NASA

Primary Keys: id

Label: Mars Rover Photos

Documentation:

Return photos made by the the curiosity rover at the specified amount of sol(length of a day on mars)

This is a read-only table function. The NASA API may not support changing the data or the Invantive SQL driver for NASA does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the NASA API.

Select NASA API URL: mars-photos/api/v1/rovers/curiosity/photos?sol={sol}

Insert NASA API URL: mars-photos/api/v1/rovers/curiosity/photos?sol={sol}

Update NASA API URL: mars-photos/api/v1/rovers/curiosity/photos?sol={sol}

Delete NASA API URL: mars-photos/api/v1/rovers/curiosity/photos?sol={sol}

Field Selection Method: NotRequired

Base Path: photos[*]

Table Function Parameters

The following parameters can be used to control the behaviour of the table function mars_rover_photos. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.

Name

Data Type

Required

Default Value

Documentation

sol

int64

 

 

 

Table Function Columns

The columns of the table function mars_rover_photos are shown below. Each column has an SQL data type.

Name

Data Type

Label

Required

Documentation

photos_camera_full_name

string

 

 

photos_camera_id

int32

 

 

photos_camera_name

string

 

 

photos_camera_rover_id

int32

 

 

photos_earth_date

datetime

 

 

photos_id

int32

 

 

photos_img_src

string

 

 

photos_sol

int32

 

 

 

12-12-2020 18:58 Version 20.1.301-BETA+3023