Forum Discussion
Nolock
7 years agoResident Rockstar
Vertipaq Engine: VALUE vs HASH
Hi guys, this time I need a help from you. I'm working on a dataset which size became about 600 MB and consumes three times more RAM when loaded. That's not what I'd expect so I've downloaded the g...
Nolock
6 years agoResident Rockstar
Hi Anonymous,
you can't force it, but you can give a hint to the Vertipaq Analyzer, that it should use Value instead of Hash. It can be set by using Tabular Editor in a PBIT file. You can also write a simple C# code which does the transformation for all columns, which supports Value encoding and so on. I will write a blog post about that, the topic is waiting in a queue ;)
You can use for example following snippet in the Tabular Editor:
// for all Int64 columns set EncodingHint
foreach(var column in Model.Tables.SelectMany(t => t.Columns))
{
if(column.DataType == DataType.Int64)
column.EncodingHint = EncodingHintType.Value;
}Anonymous
6 years agoNot applicable
Cool, look forward to that article and I will take a look at hinting using Tabular Editor