Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Program crash when nocache=False #61

Open
chjuncn opened this issue Jan 15, 2025 · 0 comments
Open

Program crash when nocache=False #61

chjuncn opened this issue Jan 15, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@chjuncn
Copy link
Collaborator

chjuncn commented Jan 15, 2025

In paper-demo.py,

when I use nocache=False in

    records, execution_stats = Execute(
        plan,
        policy,
        **nocache=False,**
        optimization_strategy=OptimizationStrategy.PARETO,
        execution_engine=execution_engine,
        verbose=verbose,
    )

I got error:

  File "/Users/chjun/Documents/GitHub/palimpzest/src/palimpzest/query/execution/nosentinel_execution.py", line 67, in execute
    records, plan_stats = self.execute_strategy(dataset, policy, optimizer)
                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/chjun/Documents/GitHub/palimpzest/src/palimpzest/query/execution/execution_engine.py", line 200, in execute_strategy
    records, plan_stats = self.execute_plan(
                          ^^^^^^^^^^^^^^^^^^
  File "/Users/chjun/Documents/GitHub/palimpzest/src/palimpzest/query/execution/plan_executors/parallel_plan_execution.py", line 139, in execute_plan
    self.datadir.append_cache(operator.target_cache_id, record)
  File "/Users/chjun/Documents/GitHub/palimpzest/src/palimpzest/datamanager/datamanager.py", line 234, in append_cache
    self._tempCache[cache_id].append(data)
    ~~~~~~~~~~~~~~~^^^^^^^^^^
KeyError: None
@chjuncn chjuncn added the bug Something isn't working label Jan 15, 2025
@chjuncn chjuncn changed the title Program crush when nocache=False Program crash when nocache=False Jan 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant