Error: failed to find conversion function from unknown to text

ERROR: failed to find conversion function from unknown to text.

later on, I found that I used alias in it. If the alias is used directly, it will report the above error.
so add ::text to text type ::int to int

Read More: