Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
address comment
  • Loading branch information
gengliangwang committed Jul 26, 2021
commit a2765cb0b0c3517da5d700a9af64f3ac6058eef6
4 changes: 2 additions & 2 deletions docs/sql-ref-ansi-compliance.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ At the heart of this conflict resolution is the Type Precedence List which defin
| Decimal | Decimal -> Float* -> Double |
| Float | Float -> Double |
| Double | Double |
| Date | Date-> Timestamp |
| Date | Date -> Timestamp |
| Timestamp | Timestamp |
| String | String |
| Binary | Binary |
Expand All @@ -199,7 +199,7 @@ The least common type from a set of types is the narrowest type reachable from t

The least common type resolution is used to:
- Decide whether a function expecting a parameter of a type can be invoked using an argument of a narrower type.
- Derive the argument type for functions which expect a shared argument type for multiple parameters, such as coalesce, least, or greatest.
- Derive the argument type for functions which expect a shared argument type for multiple parameters, such as coalesce, least, or greatest.
- Derive the operand types for operators such as arithmetic operations or comparisons.
- Derive the result type for expressions such as the case expression.
- Derive the element, key, or value types for array and map constructors.
Expand Down