bug: PrimitiveLiteral
and Literal
should not be Ord
.
#378
Labels
bug
Something isn't working
Milestone
In rust,
Ord
means total order, whilePartiarOrd
mean partital order. Currently we have derivedOrd
for bothPrimitiveLiteral
andLiteral
, which is incorrect. How could we compareStruct
withMap
, orDate
withString
? We should do following changes:PartialOrd
,Ord
for bothLiteral
.Ord
forPrimitiveLiteral
. I think we should also removePartialOrd
forPrimitiveLiteral
, which misses type information for decimal.PartialOrd
forDatum
.The text was updated successfully, but these errors were encountered: