Modified to use defined types instead of records.
- For example, instead of using {atom(), atom()} in the spec, now
  use ydb_timestamp().
- Instead of Tuple :: tuple(), now it is Tuple :: ydb_tuple()