I don’t think there is any officially recommended way to run SQL ontop of FoundationDB. I suspect the TiDB comment you saw was someone speculating about an idea maybe (I vaguely recall some GitHub issues about it).
There are some well supported document interfaces like the official record layer or Tigris though.
There are some well supported document interfaces like the official record layer or Tigris though.