Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
Description
We can cast dictionary(string, X) to string, but not the other way around.
> Array$create(c("a", "b"))$cast(dictionary(int32(), string())) Error: NotImplemented: Unsupported cast from string to dictionary using function cast_dictionary /Users/willjones/Documents/arrows/arrow/cpp/src/arrow/compute/function.cc:249 func.DispatchBest(&in_types) > Array$create(as.factor(c("a", "b")))$cast(string()) Array <string> [ "a", "b" ]
Attachments
Issue Links
- relates to
-
ARROW-13103 [C++][Python] Allow to specify a dictionary type for dictionary_encode() function
-
- Open
-