Skip to content

Commit 78d44f4

Browse files
authored
Merge pull request #14 from Hugoberry/pbix2vpax
* Support for files with a signature `This backup was created using multithreaded XPrs9.` * Expand VPAX serialisation for the old metadata.sqlite schema. * RLS via `TablePermissions`
2 parents c41bd56 + 7da7514 commit 78d44f4

18 files changed

+5625
-46
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ pbix2vpax(filename)
9696
- `UserHierarchies` - User-defined hierarchies
9797
- `Partitions` - Partition information including refresh times
9898
- `ColumnsSegments` - (Reserved for future use)
99-
- `TablePermissions` - (Reserved for future use)
99+
- `TablePermissions` - Row Level Security details
100100
- `CalculationItems` - (Reserved for future use)
101101

102102
#### Basic Usage

data/rls.pbix

1.04 MB
Binary file not shown.

ksy/abf_mt_xpress9.ksy

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
meta:
2+
id: abf_mt_xpress9
3+
endian: le
4+
5+
seq:
6+
- id: signature
7+
size: 102
8+
type: str
9+
encoding: UTF-16LE
10+
doc: This backup was created using multithreaded Xprs9.
11+
- id: multi_thread
12+
type: thread_distribution
13+
- id: chunks
14+
type: chunk
15+
repeat: eos
16+
17+
types:
18+
thread_distribution:
19+
seq:
20+
- id: tail_block_count
21+
type: u8
22+
- id: head_block_count
23+
type: u8
24+
- id: head_thread_count
25+
type: u8
26+
- id: tail_thread_count
27+
type: u8
28+
- id: chunk_uncompressed_size
29+
type: u8
30+
chunk:
31+
seq:
32+
- id: uncompressed
33+
type: u4
34+
- id: compressed
35+
type: u4
36+
- id: node
37+
type: node
38+
size: compressed
39+
40+
node:
41+
seq:
42+
- id: header
43+
type: header
44+
- id: segments
45+
size: _parent.compressed - 32
46+
47+
header:
48+
seq:
49+
- id: xpress_magic
50+
contents: [0x2a, 0xd7, 0x86, 0x4e]
51+
doc: 0x4e86d72a [0x2a, 0xd7, 0x86, 0x4e]
52+
- id: orig_size
53+
type: u4
54+
- id: encoded_size
55+
type: u4
56+
- id: huffman_table_flags
57+
type: u4
58+
- id: zero
59+
type: u4
60+
- id: session_signature
61+
type: u4
62+
- id: block_index
63+
type: u4
64+
- id: crc32
65+
type: u4
66+
67+

0 commit comments

Comments
 (0)