If a type lacks a hash function, we should not allow tables to be distributed using it as the type of their partition key. Right now, doing so results in the cryptic cache lookup failed for function 0 during INSERT commands.
master_create_distributed_table should detect these types, refuse to create a distributed table, and print a helpful message.
If a type lacks a hash function, we should not allow tables to be distributed using it as the type of their partition key. Right now, doing so results in the cryptic
cache lookup failed for function 0
duringINSERT
commands.master_create_distributed_table
should detect these types, refuse to create a distributed table, and print a helpful message.