Skip to content

Commit c70d0a8

Browse files
DOCSP-9826 doc updates for null values in attribute path (#21)
* DOCSP-9826 doc updates for null values in attribute path
1 parent 199cbc7 commit c70d0a8

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

source/supported-unsupported/supported-partition-attributes.txt

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,3 +124,22 @@ for each data type:
124124
{+adl+} supports the `Package Syntax
125125
<https://golang.org/pkg/regexp/syntax/>`__ for regular expressions
126126
in the path to the filename.
127+
128+
Parsing Null Values from Filenames
129+
----------------------------------
130+
131+
If there is an empty string (``""``) in the place of an attribute in the path
132+
to the file, {+dl+} automatically parses it as a null value for all the
133+
attribute types except ``string``. For example, consider the following |s3|
134+
{+data-lake-store+}:
135+
136+
.. code-block:: none
137+
:emphasize-lines: 3
138+
139+
/records/january/1.json
140+
/records/february/1.json
141+
/records//1.json
142+
143+
For the path ``/records/{month string}/*``, {+dl+} does not add any
144+
computed fields for the ``month`` attribute to documents generated
145+
from the third record in the above store.

0 commit comments

Comments
 (0)