I am trying to make an apache superset chart with map box view. I have to set latitude and longitude columns. But these data are in a postgresql + postgis database. So, latitude and longitude are in the same column location. An sql query would be like this:
SELECT ST_X(location), ST_Y(location) FROM Address
How can I make superset get latitude with the function ST_X()
?