glue_sql wraps integer64 values in quotes, but does not for integers. Feel free to close this if that is intentional.
library(glue)
library(bit64)
con <- DBI::dbConnect(RSQLite::SQLite(), ":memory:")
glue_sql(.con = con, "select {1}")
glue_sql(.con = con, "select {as.integer64(1)}")
Issue also appears with odbc and SQL Server instead of SQLite.