Amazon Athena JDBC Driver Wrapper Supporting the 'metis' Package
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
299B

  1. #' Retrieve the current supported type names in Athena
  2. #'
  3. #' @export
  4. #' @examples
  5. #' athena_supported_types()
  6. athena_supported_types <- function() {
  7. gsub(
  8. "^AJ_|_TYPE_NAME$", "",
  9. grep(
  10. "^AJ_",
  11. names(rJava::J("com.simba.athena.athena.AthenaTypes")),
  12. value=TRUE
  13. )
  14. )
  15. }