Initial in-memory distinct support.