File tree 4 files changed +10
-5
lines changed
4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 4
4
- main
5
5
tags-ignore :
6
6
- " **-rc**"
7
+ pull_request :
8
+ branches :
9
+ - main
7
10
8
11
name : Deploy DataFusion Python site
9
12
13
16
runs-on : ubuntu-latest
14
17
steps :
15
18
- name : Set target branch
19
+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
16
20
id : target-branch
17
21
run : |
18
22
set -x
27
31
- name : Checkout docs sources
28
32
uses : actions/checkout@v3
29
33
- name : Checkout docs target branch
34
+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
30
35
uses : actions/checkout@v3
31
36
with :
32
37
fetch-depth : 0
64
69
make html
65
70
66
71
- name : Copy & push the generated HTML
72
+ if : github.event_name == 'push' && github.ref == 'refs/heads/main'
67
73
run : |
68
74
set -x
69
75
cd docs-target
Original file line number Diff line number Diff line change 19
19
.. currentmodule :: datafusion.object_store
20
20
21
21
ObjectStore
22
- =========
22
+ ===========
23
23
24
24
.. autosummary ::
25
25
:toctree: ../generated/
Original file line number Diff line number Diff line change @@ -92,13 +92,12 @@ DataFusion offers a range of helpful options.
92
92
f.left(col(' "Name"' ), literal(4 )).alias(" code" )
93
93
)
94
94
95
- This also includes the functions for regular expressions :func: ` .regexp_replace ` and :func: `.regexp_match `
95
+ This also includes the functions for regular expressions like :func: `.regexp_match `
96
96
97
97
.. ipython :: python
98
98
99
99
df.select(
100
100
f.regexp_match(col(' "Name"' ), literal(" Char" )).alias(" dragons" ),
101
- f.regexp_replace(col(' "Name"' ), literal(" saur" ), literal(" fleur" )).alias(" flowers" )
102
101
)
103
102
104
103
Original file line number Diff line number Diff line change 16
16
.. under the License.
17
17
18
18
Configuration
19
- ========
19
+ =============
20
20
21
21
Let's look at how we can configure DataFusion. When creating a :code: `SessionContext `, you can pass in
22
22
a :code: `SessionConfig ` and :code: `RuntimeConfig ` object. These two cover a wide range of options.
@@ -48,4 +48,4 @@ a :code:`SessionConfig` and :code:`RuntimeConfig` object. These two cover a wide
48
48
49
49
50
50
You can read more about available :code: `SessionConfig ` options `here <https://arrow.apache.org/datafusion/user-guide/configs.html >`_,
51
- and about :code: `RuntimeConfig ` options `here https://docs.rs/datafusion/latest/datafusion/execution/runtime_env/struct.RuntimeConfig.html `_.
51
+ and about :code: `RuntimeConfig ` options `here < https://docs.rs/datafusion/latest/datafusion/execution/runtime_env/struct.RuntimeConfig.html > `_.
You can’t perform that action at this time.
0 commit comments