troy
troy copied to clipboard
Fix non-exhaustive pattern matching
[warn]/troy/troy-schema/src/main/scala/troy/schema/ColumnOps.scala:13: match may not be exhaustive.
[warn] It would fail on the following inputs: In, NotEquals
[warn] def operandType(operator: Operator): Option[DataType] = operator match {
[warn] ^
[warn]/troy/troy-schema/src/main/scala/troy/schema/Schema.scala:87: match may not be exhaustive.
[warn] It would fail on the following inputs: Simple(_, _, Constant(_)), Simple(_, _, FunctionCall(_, _)), Simple(_, _, ListLiteral(_)), Simple(_, _, MapLiteral(_)), Simple(_, _, Named(_)), Simple(_, _, SetLiteral(_)), Simple(_, _, TupleLiteral(_)), Simple(_, _, TypeHint(_, _)), Simple(_, _, UdtLiteral(_))
[warn] Result.flattenSeq(where.relations.map {