[ 
https://issues.apache.org/jira/browse/CALCITE-1899?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Julian Hyde updated CALCITE-1899:
---------------------------------
    Description: 
When reading model, give error if mandatory JSON attributes are missing. 
Mandatory attributes:
* JsonSchema.name (inherited by JsonCustomSchema, JsonJdbcSchema)
* JsonCustomSchema.factory
* JsonMaterialization.sql
* JsonLattice.sql
* JsonTable.name (inherited by JsonCustomTable and JsonView)
* JsonCustomTable.factory
* JsonColumn.name
* JsonFunction.className
* JsonMeasure.agg

Note that JsonFunction.name is not mandatory: a class with several methods 
defines several functions, each inheriting the name of the method.

  was:
When reading model, give error if mandatory JSON attributes are missing. 
Mandatory attributes:
* JsonSchema.name (inherited by JsonCustomSchema, JsonJdbcSchema)
* JsonCustomSchema.factory
* JsonMaterialization.sql
* JsonLattice.sql
* JsonTable.name (inherited by JsonCustomTable and JsonView)
* JsonCustomTable.factory
* JsonColumn.name
* JsonFunction.name and .className
* JsonMeasure.agg


> When reading model, give error if mandatory JSON attributes are missing
> -----------------------------------------------------------------------
>
>                 Key: CALCITE-1899
>                 URL: https://issues.apache.org/jira/browse/CALCITE-1899
>             Project: Calcite
>          Issue Type: Bug
>            Reporter: Julian Hyde
>            Assignee: Julian Hyde
>
> When reading model, give error if mandatory JSON attributes are missing. 
> Mandatory attributes:
> * JsonSchema.name (inherited by JsonCustomSchema, JsonJdbcSchema)
> * JsonCustomSchema.factory
> * JsonMaterialization.sql
> * JsonLattice.sql
> * JsonTable.name (inherited by JsonCustomTable and JsonView)
> * JsonCustomTable.factory
> * JsonColumn.name
> * JsonFunction.className
> * JsonMeasure.agg
> Note that JsonFunction.name is not mandatory: a class with several methods 
> defines several functions, each inheriting the name of the method.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to