1

I was reading about the HDFS persistence mode in SnappyData and it was confusing in the documentation.

Can one create tables with primary keys that read/write to HDFS?

http://rowstore.docs.snappydata.io/docs/disk_storage/persist-hdfs-topics.html

Fire
  • 306
  • 1
  • 4
  • 10

1 Answers1

1

Yes, you can create HDFS read/write tables with PRIMARY KEY defined. It's just that the HDFS read/write tables that use eviction criteria cannot have foreign key constraints, because the table data needed to enforce such constraints would require scanning persisted HDFS data.

Yogesh Mahajan
  • 241
  • 1
  • 4