Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.88 KB

describe.md

File metadata and controls

41 lines (28 loc) · 1.88 KB
description
The DESCRIBE TABLE command is used to provide high-level information regarding the overall column properties of an existing dataset.

DESCRIBE

Spice DESCRIBE supports all filesystem source types and relies upon a user’s existing privileges to access and describe a table or view.

Syntax

Parameters

  • <table_name> String The name of an existing user-defined table.

Examples

{% code title="DESCRIBE TABLE syntax." %}

DESCRIBE TABLE table_name;

{% endcode %}

{% code title="Describing a table" %}

DESCRIBE TABLE eth.blocks;

{% endcode %}

Once a table or view has been queried, the Spice UI displays the following:

  • Column headers indicating the type of information being described.
  • Rows describing each table column.
  • Data types, properties, policies, and other associated attributes
COLUMN_NAMEDATA_TYPEIS_NULLABLENUMERIC_PRECISIONNUMERIC_SCALEEXTENDED_PROPERTIESMASKING_POLICY
numberBIGINTYES640[][]
hashCHARACTER VARYINGYESNULLNULL[][]
parent_hashCHARACTER VARYINGYESNULLNULL[][]
nonceCHARACTER VARYINGYESNULLNULL[][]
sha3_unclesCHARACTER VARYINGYESNULLNULL[][]
logs_bloomCHARACTER VARYINGYESNULLNULL[][]

The cells containing a ‘[]’ indicate “empty” values.