Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
5.0.0, 6.0.0
-
None
-
None
Description
I'm writing a recipe in the cookbook about creating schemas, and when I try to create one, I get the following error:
Error: NotImplemented: Extend
Here's the R code which I run to get this error:
share_data <- tibble::tibble( company = c("AMZN", "GOOG", "BKNG", "TSLA"), price = c(3463.12, 2884.38, 2300.46, 732.39), date = c("2021-09-03","2021-09-03", "2021-09-03", "2021-09-03") ) share_schema <- schema( company = utf8(), price = decimal(precision = 1, scale = 1), date = utf8() ) Table$create(share_data, schema = share_schema)
I've tried to have a bit of a play around with parameters and a dig around to see what's going on, but I don't have much to go on.
The schema creation itself is working fine, it's when it's passed into Table$create which is where it's causing problems.
I'm not sure if the error is at the C++ or R layer.
This is the C++ function at the R layer which is where the error is coming from: https://github.com/apache/arrow/blob/1440d5ab95c423003ecbe06372663a85cfccf769/r/src/r_to_arrow.cpp#L1327-L1342
Attachments
Issue Links
- duplicates
-
ARROW-11631 [R] Implement RPrimitiveConverter for Decimal type
- Open