2002
DOI: 10.1006/jcss.2001.1812
|View full text |Cite
|
Sign up to set email alerts
|

Polymorphic Type Inference for the Relational Algebra

Abstract: We give a polymorphic account of the relational algebra. We introduce a formalism of ''type formulas'' specifically tuned for relational algebra expressions, and present an algorithm that computes the ''principal'' type for a given expression. The principal type of an expression is a formula that specifies, in a clear and concise manner, all assignments of types (sets of attributes) to relation names, under which a given relational algebra expression is well-typed, as well as the output type that expression wi… Show more

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
2
1

Citation Types

1
15
0

Year Published

2005
2005
2016
2016

Publication Types

Select...
3
2

Relationship

0
5

Authors

Journals

citations
Cited by 10 publications
(16 citation statements)
references
References 8 publications
1
15
0
Order By: Relevance
“…Finally we mention the extensive research about polymorphic type inference in relation algebra and (object-oriented) databases, see [7,4] for examples. However, this is only loosely related to our efforts, as there the aim is to extend a ML-like type system to capture the principal type of a program involving database operations or more in general of an expression in relational algebra, where a type is seen as a set of attribute names for a given schema.…”
Section: Related Work and Conclusionmentioning
confidence: 99%
“…Finally we mention the extensive research about polymorphic type inference in relation algebra and (object-oriented) databases, see [7,4] for examples. However, this is only loosely related to our efforts, as there the aim is to extend a ML-like type system to capture the principal type of a program involving database operations or more in general of an expression in relational algebra, where a type is seen as a set of attribute names for a given schema.…”
Section: Related Work and Conclusionmentioning
confidence: 99%
“…The type system of Van den Bussche and Waller [7] considers an expression ill-defined if the schema of some subexpression is required to have an attribute present and absent at the same time. Practical query languages also consider an expression ill-defined if attributes are not used consistently with regard to their base types.…”
Section: Preliminariesmentioning
confidence: 99%
“…The corresponding SQL expression would be considered incorrect however, since an attribute cannot have base type bool and int at the same time. In this section, we therefore augment the type system of Van den Bussche and Waller [7] with the ability to deal with types on the attribute value level.…”
Section: Preliminariesmentioning
confidence: 99%
See 2 more Smart Citations