" @directio.hive.decimal(precision = 10, scale = 2)",
" simple : DECIMAL;",
"};"
});
DataModelDescriptor descriptor = descriptor(loader, "ModelDescriptorFactory");
PropertyDescriptor property = descriptor.findPropertyDescriptor("simple");
assertThat(property, is(notNullValue()));
assertThat(property.getTypeInfo(), is((TypeInfo) TypeInfoFactory.getDecimalTypeInfo(10, 2)));
}