Commit 880994d
Simplify change feed streaming test to use memory sink
Replace cosmos.oltp sink with in-memory sink to eliminate the need for
a separate sink container. This avoids 404 errors from sink container
creation/resolution and removes checkpoint path concerns.
The test still exercises the full ChangeFeedInitialOffsetWriter and
HDFSMetadataLog code paths (readStream with cosmos.oltp.changeFeed),
which is the goal for validating the MetadataVersionUtil fix.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 50e51e8 commit 880994d
2 files changed
Lines changed: 8 additions & 62 deletions
File tree
- sdk/cosmos/azure-cosmos-spark_3/test-databricks/notebooks
Lines changed: 4 additions & 27 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | 118 | | |
123 | 119 | | |
124 | 120 | | |
| |||
129 | 125 | | |
130 | 126 | | |
131 | 127 | | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | 128 | | |
142 | 129 | | |
143 | 130 | | |
| |||
148 | 135 | | |
149 | 136 | | |
150 | 137 | | |
151 | | - | |
| 138 | + | |
152 | 139 | | |
153 | | - | |
154 | | - | |
155 | 140 | | |
156 | 141 | | |
157 | 142 | | |
158 | 143 | | |
159 | 144 | | |
160 | 145 | | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
171 | 149 | | |
172 | 150 | | |
173 | 151 | | |
174 | 152 | | |
175 | | - | |
176 | 153 | | |
Lines changed: 4 additions & 35 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | 103 | | |
108 | 104 | | |
109 | 105 | | |
| |||
118 | 114 | | |
119 | 115 | | |
120 | 116 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | 117 | | |
135 | 118 | | |
136 | 119 | | |
| |||
141 | 124 | | |
142 | 125 | | |
143 | 126 | | |
144 | | - | |
| 127 | + | |
145 | 128 | | |
146 | | - | |
147 | | - | |
148 | 129 | | |
149 | 130 | | |
150 | 131 | | |
151 | 132 | | |
152 | 133 | | |
153 | 134 | | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
168 | 138 | | |
169 | 139 | | |
170 | 140 | | |
171 | 141 | | |
172 | | - | |
173 | 142 | | |
0 commit comments